ai_vqgan
An authenticated client can post a request to VQGAN-CLIP
VQGAN-CLIP stands for Vector Quantized Generative Adversarial Network and Contrastive Language–Image Pre-training. It is an ealier generation AI (pre 2020) for image to image processing
This AI can run AI alongside a Daemon on GPU only
Get the JSON config file for this AI
GET
https://opensourceais.com/api/v1/public/config/vqgan
Post a request to VQGAN via OpenSourceAIs
POST
https://opensourceais.com/api/v1/private/client/ai/vqgan
Request Body
Name | Type | Description |
---|---|---|
width | Number | The width of the output image. Defaults to 320 |
height | Number | The height of the output image. Defaults to 320 |
steps | Number | The number of steps requested for generating the output image. High number of steps cost more GPU compute. Defaults to 20. Should not exceed 200. |
word* | String | A text input to tell the AI what to generate. |
url_upload | String | A well formed URI starting with https://... and accessing a PNG or JPG image. Note that if the image is not of the width and height size passed in parameters, it will be automatically cropped or resized. |
saveinterval | Number | A positive number indicating when intermediate images are saved. |
model | String | The model used for morphing the image. |
Last updated