wan2.7-i2v-nsfw API
Use the exact wan2.7-i2v-nsfw model ID through Modelflare asynchronous video routing.
wan2.7-i2v-nsfw API
Use the exact wan2.7-i2v-nsfw model ID through Modelflare asynchronous video routing.
Use the exact model ID wan2.7-i2v-nsfw. The model field must match this page exactly.
Authentication and endpoint
Use a Modelflare API key with https://modelflare.dev/v1. The gateway entry point is POST /v1/videos.
Authorization: Bearer YOUR_MODELFLARE_API_KEY
Create a task
curl https://modelflare.dev/v1/videos \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan2.7-i2v-nsfw",
"input": {"prompt": "A white cat runs through a neon-lit street in the rain, cinematic tracking shot"},
"parameters": {"resolution": "1080P", "duration": 5, "prompt_extend": false}
}'
Poll and download
Save the task ID. Poll GET /v1/videos/{task_id} and download with GET /v1/videos/{task_id}/content. Result URLs may expire, so transfer the file promptly.
curl https://modelflare.dev/v1/videos/TASK_ID \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY"
Request notes
Wan commonly uses input and parameters; frame-guided and reference-media modes must not be mixed.
Request parameters
Wan2.7 I2V uses input.prompt and input.media. Follow the documented combinations for first/last frames, driving audio, and an initial clip.
| Field | Required | Notes |
|---|---|---|
model |
Yes | wan2.7-i2v-nsfw |
input.prompt |
Yes | Motion and scene description |
input.media[] |
Yes | first_frame, last_frame, driving_audio, or first_clip |
parameters.resolution |
No | 720P / 1080P |
parameters.duration |
No | Total duration; includes the input clip for continuation |
parameters.prompt_extend |
No | Set false when this dedicated model contract requires it |
parameters.watermark |
No | Whether to add a watermark |
Input and output limits
I2V media must follow a supported combination such as first_frame, first_frame+last_frame, first_frame+driving_audio, or first_clip with the documented optional end frame. Each media type appears at most once; output is 720P or 1080P.
Supported scope
This page covers Modelflare model generation and editing calls. Search or map enrichment, voice management, and element-library management are resource APIs outside this public model-call surface and are not required request fields.
Pricing and billing
This model uses per-second video billing. See the model pricing page for the current customer price, reference list price, and complete specification.
This page documents Modelflare’s public interface; the fields and limits shown here are the current contract.