PeumeAPI

AI generation · Gemini

Image to Video

Image-to-video with Gemini Omni Flash.

From $0.06 per call

Call it

curl https://api.peume.com/v1/call/gemini-image-to-video \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "your prompt",
    "image_urls": [],
    "resolution": "360p",
    "aspect_ratio": "16:9",
    "duration": 10
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: gemini-image-to-video.

Parameters

promptRequiredstring

Text prompt: scene, camera, lighting, audio ("no dialogue", "calm background music"), timing ("after 3 seconds..."). Ask for "a single continuous shot" to avoid scene cuts.

image_urlsRequiredarray

Public https:// image URLs: the first is the starting frame; an optional second is the ending frame to transition to.

resolutionRequiredstring

Output resolution (360p | 720p | 1080p | 4k; 1080p and 4k are upscaled) — also the price selector.

360p · 720p · 1080p · 4k

aspect_ratiostring

Aspect ratio of the output: 16:9 (default) or 9:16.

16:9 · 9:16

Example: 16:9

durationinteger

Output length in seconds (3-10). Default 10. Billed per second.

Example: 10

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.