generative
Generate images from a text prompt
Changed onStarts an image generation request and returns a tracking ID.
post/v2/generative/images
Request
- Base URLhttps://api.shutterstock.com
- AuthOAuth 2Authorization codehttps://accounts.shutterstock.com/oauth/authorizeToken URLhttps://api.shutterstock.com/v2/oauth/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"prompt": "dog playing a banjo",
"aspect_ratio": "1:1",
"style_id": "studio-shot",
"model": "GPT_IMAGE_STANDARD_v3"
}Response
Image generation request accepted
Example response
{
"id": "e5cf9549-67c2-4312-a3c3-d2ac6263e6b6"
}Changes
- info
endpoint added
- info