AI Image Generator

AI Image Generator

Analyze image content using a vision-language model

post
Authorizations
Body
max_tokensintegerOptionalDefault: 300
modelstringRequired

Model name (e.g. "openai")

Default: openai
seedintegerOptional

Optional seed for deterministic generation

Responses
200
Success
application/json
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
heightintegerOptional

Image height

Default: 1024
modelstringOptional

Image generation model

Default: flux
promptstringRequired

Image description prompt

seedintegerOptional

Random seed

Default: 42
widthintegerOptional

Image width

Default: 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
heightintegerOptional

Image height

Default: 1024
modelstringOptional

Image generation model

Default: flux
promptstringRequired

Image description prompt

seedintegerOptional

Random seed

Default: 42
widthintegerOptional

Image width

Default: 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

AI Generate Thumbnail

post
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