Image to Video
wan2.6-i2v
Wan 2.6 image-to-video generation.
Quick start
Submit a request with this public model ID. The API immediately returns a normalized job; poll GET /v1/jobs/{jobId} while its status is queued or running.
curl -X POST "https://api.artany.ai/v1/videos/generations" \
-H "Authorization: Bearer $ARTANY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: unique-request-id" \
-d '{"model":"wan2.6-i2v","image_urls":["https://example.com/first-frame.jpg"],"prompt":"The character smiles and waves at the camera","resolution":"1080p","duration":5,"prompt_extend":true}'Request
Headers
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for an Artany API key. |
| Content-Type | Yes | Must be application/json. |
| Idempotency-Key | Recommended | 8–128 characters. Reusing it with an identical request prevents duplicate jobs and charges. |
Body
{
"model": "wan2.6-i2v",
"image_urls": [
"https://example.com/first-frame.jpg"
],
"prompt": "The character smiles and waves at the camera",
"resolution": "1080p",
"duration": 5,
"prompt_extend": true
}Request Parameters
Only fields in this model’s public request contract are shown. Defaults are applied before validation and quoting.
Note:Image-to-video workflow. Provide an image, then describe the desired motion and camera action.
Stable public model ID for this request.
Source image array for image-to-video generation.
Items: 1–1
Note:At least one image is required; use the count and URL limits shown in the schema.
Motion and scene instruction for the source image. Describe movement, camera behavior, and visual changes.
Content or visual characteristics to avoid.
Length: 0–500
Output resolution tier.
Allowed: 720p, 1080p
Requested video duration in seconds.
Range: 2–15
Whether to enrich the prompt before generation.
Camera treatment for the supported workflow.
Allowed: single, multi
Optional seed that influences generation randomness.
Range: 0–∞
Use Cases
Choose the request shape that matches the source media you provide. The examples use the public model ID and accepted public fields.
Image-to-video
Provide an image before describing motion.
{
"model": "wan2.6-i2v",
"prompt": "The character smiles and waves at the camera",
"image_urls": [
"https://example.com/first-frame.jpg"
],
"duration": 5,
"resolution": "1080p",
"prompt_extend": true
}Response and task status
A successful asynchronous submission returns HTTP 202 with a supplier-neutral job.
{
"id": "job_…",
"object": "generation.job",
"model": "wan2.6-i2v",
"status": "queued",
"progress": 0,
"output": null,
"error": null,
"billing": {
"estimated_credits": "…",
"frozen_credits": "…",
"charged_credits": "0",
"state": "frozen",
"price_version": "2026-07-18.picverse-parity"
},
"created_at": "2026-07-21T00:00:00.000Z",
"completed_at": null
}- queued / running: continue polling.
- succeeded: retrieve media URLs from
output; billing has settled. - failed / canceled: inspect
error; frozen Credits are released.