>docs/api/image-to-video

Image-to-Video API

Generate videos from a reference image using the image_url parameter. Provide a publicly accessible image URL alongside a motion prompt to animate it into a high-quality video clip. Powered by nohuman-x33.

# How It Works

01

Provide Image URL

Pass a publicly accessible image URL in the image_url parameter. This triggers Image-to-Video mode.

02

Describe Motion

Provide a prompt describing the desired motion, camera movement, and animation.

03

Poll & Download

Poll the generation endpoint until completed, then download the video from result.url.

# Generate Video from Image

POST/v1/videos/generate

Generate a video using a reference image. Uses the same endpoint as text-to-video -- including the image_url parameter triggers I2V mode.

Parameters

NameTypeRequiredDescription
promptstringrequiredDescribe the desired motion, camera movement, and animation (e.g., "camera slowly zooms in, hair blowing in the wind").
image_urlstringrequiredPublicly accessible URL to the reference image (JPG, PNG, WebP). Including this parameter triggers Image-to-Video mode.
modestringoptional ("fast")Generation mode. "fast" for faster generation, "hq" for higher quality output.
negative_promptstringoptionalDescribe what you do not want in the video (e.g., "blurry, low quality").
aspect_ratiostringoptional ("16:9")Output aspect ratio. Options: "16:9", "9:16", "1:1".
durationnumberoptional (5)Video duration in seconds. Options: 5 or 10.
cfg_scalenumberoptional (0.5)Classifier-free guidance scale. Range: 0 to 1.
soundbooleanoptional (true)Enable audio generation for the output video.

Response

{
  "id": "gen_img2v_x7y8z9",
  "model": "nohuman-x33",
  "status": "created",
  "poll_url": "/v1/videos/generations/gen_img2v_x7y8z9"
}

# Code Examples

Image-to-Video Generation

curl -X POST https:"code-comment">//api.nohuman.studio/v1/videos/generate \
  -H "Authorization: Bearer $NOHUMAN_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Camera slowly zooms in, subject turns head and smiles, cinematic lighting",
    "image_url": "https://example.com/reference_photo.jpg",
    "duration": 10,
    "aspect_ratio": "16:9"
  }'

# Image Requirements

RequirementSpecification
FormatsJPG, PNG, WebP
AccessPublicly accessible URL
Max file size10 MB
Recommended resolution1024x1024 or higher

TIP

For best results, use high-quality images that match your target aspect ratio. The model uses the image as a visual reference and applies the motion described in your prompt.

# Pricing

DurationCost
Fast 5s$0.47
Fast 10s$0.94
HQ 5s$0.94
HQ 10s$1.87

# Generation Status

After submitting, poll GET /v1/videos/generations/{id} every 5 seconds to check progress.

StatusDescription
createdRequest received, waiting for processing
processingVideo is being generated
completedVideo ready -- download from result.url
failedGeneration failed - check error field and retry

SYS :: image-to-video/v1 :: endpoint reference