More modelsIdeogram aiIdeogram v2 turbo
Generate image with ideogram-ai/ideogram-v2-turbo
Generates an image using the ideogram-ai/ideogram-v2-turbo model.
AuthorizationBearer <token>
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
modelstring
model name
image?string
The image to generate an image from.
style?string
The style of the generated image.
Value in
"Auto" | "General" | "Realistic" | "Design" | "Render 3D" | "Anime"
promptstring
The prompt to generate an image from.
mask_image?string
The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.
aspect_ratio?string
The aspect ratio of the generated image.
Value in
"1:1" | "16:9" | "9:16" | "4:3" | "3:4"
enable_base64_output?boolean
If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.
Default
false
Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "ideogram-ai/ideogram-v2-turbo", "prompt": "A stylish model, fashion show, showcase a designer outfit, orange colour suit, conspicuous jewelry, fashion show background, vibrant color, dramatic makeup" }'
{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}