AI Image Generator
AI Image Generator
Authorizations
Body
max_tokensintegerOptionalDefault:
300
modelstringRequiredDefault:
Model name (e.g. "openai")
openai
seedintegerOptional
Optional seed for deterministic generation
Responses
200
Success
application/json
400
Bad Request
500
Internal Server Error
post
POST /analyze-image HTTP/1.1
Host: api.zero2launch.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 176
{
"max_tokens": 300,
"messages": [
{
"content": [
{
"text": "What is in this image?",
"type": "text"
},
{
"image_url": {
"url": "your_url"
},
"type": "image_url"
}
],
"role": "user"
}
],
"model": "openai"
}
{
"result": "text"
}
post
Authorizations
Header parameters
X-API-KeystringRequired
Your API key
Body
heightintegerOptionalDefault:
Image height
1024
modelstringOptionalDefault:
Image generation model
flux
promptstringRequired
Image description prompt
seedintegerOptionalDefault:
Random seed
42
widthintegerOptionalDefault:
Image width
1024
Responses
200
Success
post
POST /download-image/data HTTP/1.1
Host: api.zero2launch.com
X-API-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 69
{
"height": 1024,
"model": "flux",
"prompt": "text",
"seed": 42,
"width": 1024
}
200
Success
No content
post
Authorizations
Header parameters
X-API-KeystringRequired
Your API key
Body
heightintegerOptionalDefault:
Image height
1024
modelstringOptionalDefault:
Image generation model
flux
promptstringRequired
Image description prompt
seedintegerOptionalDefault:
Random seed
42
widthintegerOptionalDefault:
Image width
1024
Responses
200
Success
post
POST /download-image/url HTTP/1.1
Host: api.zero2launch.com
X-API-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 69
{
"height": 1024,
"model": "flux",
"prompt": "text",
"seed": 42,
"width": 1024
}
200
Success
No content
Authorizations
Body
avatar_urlstring · uriRequired
Image URL to place on the thumbnail
bottom_textstringRequired
Text to show at the bottom of the thumbnail
templatestringRequired
Template name to use (e.g., temp_1)
top_textstringRequired
Text to show at the top of the thumbnail
Responses
200
Returns the generated thumbnail file
post
POST /generate-thumbnail HTTP/1.1
Host: api.zero2launch.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 93
{
"avatar_url": "https://example.com",
"bottom_text": "text",
"template": "text",
"top_text": "text"
}
200
Returns the generated thumbnail file
No content