Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Text description of the image to generate
1 - 1000
"A beautiful sunset over mountains with a lake in the foreground"
Lora IDs to apply to the image generation - up to 3 Lora models can be applied
3
["cmcz8do7y00fw0dnd3t7906sy"]
Number of images to generate (1-4)
1 <= x <= 4
1
Aspect ratio of the generated image
SQUARE
, PORTRAIT
, LANDSCAPE
"SQUARE"
Response
Returns the ID of the created image generation job.
Unique identifier for the visual creation job
"visual_123456789"
Current status of the visual creation job
QUEUED
, PENDING_WORKER
, PROCESSING
, ERRORED
, SUCCEEDED
, CANCELED
"SUCCEEDED"
Text prompt used for the visual creation
"A beautiful sunset over mountains"
Type of visual creation job
IMAGE
, VIDEO
, EDIT
, REMIX
, INPAINT
, UPSCALE
"IMAGE_GENERATION"
Number of images generated
1
Dimensions of the generated images
SQUARE
, PORTRAIT
, LANDSCAPE
"SQUARE"
Timestamp when the job was created
"2024-01-15T10:30:00Z"
Timestamp when the job was last updated
"2024-01-15T10:35:00Z"
Array of URLs to the generated images
[
"https://storage.example.com/images/generated_1.jpg"
]
Primary LoRA model used for generation
null
Secondary LoRA model used for generation
null