Create Ai Generated Image
Media
Create Ai Generated Image
POST
Create Ai Generated Image
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
Company ID
Body
application/json
Text prompt for image generation
Required string length:
3 - 1000Image aspect ratio (square_1_1, classic_4_3, traditional_3_4, widescreen_16_9, social_story_9_16)
Available options:
square_1_1, classic_4_3, traditional_3_4, widescreen_16_9, social_story_9_16 How closely to follow the prompt (0.0-2.0)
Required range:
0 <= x <= 2Filter NSFW content
Optional style modifier (e.g., 'anime', 'photo', 'digital-art', '3d', 'painting')
What to avoid in the image (min 3 chars)
Minimum string length:
3Seed for reproducibility (0-1000000)
Required range:
0 <= x <= 1000000Optional tags for the generated image
Optional alt text for accessibility
Response
Successful Response
Available options:
upload, stock, ai_generated