Image to Video
Transform static images into zoom-animated videos
Authorizations
Body
image_urlstring · uriRequired
Input image URL
positive_promptstringRequired
Prompt describing the desired scene
negative_promptstringOptional
Prompt describing what to avoid
widthintegerRequired
Width of the generated video
heightintegerRequired
Height of the generated video
videoLengthintegerRequired
Length of the video in seconds
Responses
200
Returns task ID and processing status
application/json
post
POST /image-to-video/v1/generate HTTP/1.1
Host: api.zero2launch.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 122
{
"image_url": "https://example.com",
"positive_prompt": "text",
"negative_prompt": "text",
"width": 1,
"height": 1,
"videoLength": 1
}
200
Returns task ID and processing status
{
"task_id": "text",
"status": "processing"
}
Authorizations
Path parameters
task_idstringRequired
Task ID returned from video generation
Responses
200
Returns status and video URL (if finished)
application/json
get
GET /image-to-video/v1/status/{task_id} HTTP/1.1
Host: api.zero2launch.com
X-API-Key: YOUR_API_KEY
Accept: */*
200
Returns status and video URL (if finished)
{
"task_id": "text",
"status": "processing",
"video_url": "https://example.com"
}