Image Generation API
Overview
Authentication
Authorization: Bearer YOUR_AUTH_KEYRequest Format
{
"job_id": "Random Job Identifier (Must Be Unique)",
"model_input": {
"SD": {
"prompt": "Textual description to generate the image",
"neg_prompt": "Negative prompt to avoid certain elements in the image",
"num_iterations": "Number of iterations for the image generation process",
"width": "Width of the generated image in pixels",
"height": "Height of the generated image in pixels",
"guidance_scale": "Guidance scale to control the adherence to the prompt",
"seed": "Seed for the random number generator to ensure reproducibility"
}
},
"model_id": "Identifier for the image generation model"
"deadline": 60,
"priority": 1
}Response Structure
Cost Considerations
API Integration Examples
Last updated