Skip to main content
POST
Generate an AI image
Generate an AI image from a text prompt and add it to the team’s media library. Returns the hosted image URL and a generated caption.

Response

Errors

prompt must be 1-250 characters. Each image costs 5 AI credits, billed to the organization. Requires an active plan and team membership. Generation runs inside the request, which returns 200 with the result or 500 on failure. Limited to 50 requests per week.

Authorizations

Authorization
string
header
required

Your SnowSEO API key (sk_...).

Body

application/json
prompt
string
required

What the image should show.

Required string length: 1 - 250
teamId
string
required

Team the image belongs to.

Response

200 - application/json

Default Response

url
string
required
caption
string
required