curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "xai/grok-imagine-video-v1.5/image-to-video",
"input": {
"duration": 6,
"image_urls": [
"https://example.com/image.png"
],
"prompt": "A quiet forest under soft morning light, with natural detail.",
"resolution": "720p"
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-example",
"status": "running",
"created_time": "2026-09-10T08:00:00"
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Request timeout{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Grok (xAI)
Grok Imagine Video 1.5 Image to Video
Animate one first-frame image with Grok Imagine Video 1.5. Generate 1–15 second videos at 480p, 720p, or 1080p.
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "xai/grok-imagine-video-v1.5/image-to-video",
"input": {
"duration": 6,
"image_urls": [
"https://example.com/image.png"
],
"prompt": "A quiet forest under soft morning light, with natural detail.",
"resolution": "720p"
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-example",
"status": "running",
"created_time": "2026-09-10T08:00:00"
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Request timeout{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Submit the request with
VIDGO_API_KEY and save the returned task_id. Use Query Task Status to retrieve the video. Provide callback_url to receive a webhook when the task reaches finished or failed.Grok Imagine Video 1.5 Image to Video
Animate a single image using a prompt that describes subject motion, camera movement, and sound. The image supplies the first frame and determines the video’s aspect ratio.Request
Setmodel to xai/grok-imagine-video-v1.5/image-to-video. Place the following parameters inside input. Set optional callback_url at the request root.
prompt
Required string. Describe the scene and desired motion in 1–4,096 characters, including at least one non-whitespace character.image_urls
Required array containing exactly one publicly accessible HTTP(S) image URL. Use a URL with a hostname and credential-free access.resolution
Optional string:480p, 720p, or 1080p. Default: 720p.
duration
Optional integer from 1 to 15 seconds. Default: 6.Authorizations
Use VIDGO_API_KEY.
Body
application/json
Set model and callback_url at the request root. Place generation parameters inside input.
Available options:
xai/grok-imagine-video-v1.5/image-to-video Example:
"xai/grok-imagine-video-v1.5/image-to-video"
Show child attributes
Show child attributes
Optional public HTTP(S) endpoint for task completion notifications. HTTPS is recommended. Omit, use null, or use an empty string to disable callbacks.