Text to Image
For more detailed information on the available text-to-image models, please refer to the Text to Image section.
Text to Image API
POST
/getTextToImage
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body
Name | Type | Description |
---|---|---|
app_id | string | -> Each model is uniquely characterized by its own |
height | int | -> The -> The valid range for the parameter is between 256 and 1536 pixels. |
width | int | -> The -> The valid range for the parameter is between 256 and 1536 pixels. |
num_inference_steps | int | -> The -> The valid range for the |
guidance_scale | float | -> The -> The valid range for the |
batch | int | -> The -> The valid range for this parameter is between 1 and 8. |
prompt | string | -> The |
negative_prompt | string | -> The |
celery | bool | -> The |
inference_type | string | -> The
This parameter is only applicable for Qolaba-deployed models, including Turbo Vision, Qolaba Style, Cartoon, Realistic, and Anime Style. The different GPU options provide varying levels of performance and capabilities, allowing you to choose the most suitable GPU based on your requirements and the demand for the task. |
APP ids for different Text to Image styles
App ID | Model Name | Height and Width Constraints |
---|---|---|
ap-JOsvgUBfInC2UQnz0FQFkG | Turbo Vision | The |
ap-PZYd1Bb5QH57Rw4BF0dPA4 | Qolaba Style | The |
ap-VbAWaTpRHAcfqywOmcjN2y | Cartoon Style | The |
ap-uU4Xo4z6KgFHFjW9gnAl3q | Realistic Style | The |
ap-7vTmulaxjyiCzQEj1BOOvJ | Anime Style | The |
ap-oDVXRQ7bCaWW05O52P1mlA | SDXL Style | The API supports the following combinations of
Please ensure that the values you provide for |
ap-Xm3pLZVdE8gY4WbR1TcSjQ | SDXL3 Style | For SDXL 3, the API supports the following aspect ratios for the
When providing the |
ap-Nk4rV9bTzXq5YH2JpL3fWg | SDXL3 Turbo Style | For SDXL 3, the API supports the following aspect ratios for the
When providing the |
ap-sdSyd0idsndjnsnsndjsds | Dalle 3 | The API supports the following
Please ensure that the |
Response
Run the API
To test this API, please use the following link:
Last updated