Learn how to use Wan 2.7 · Video Edit.
Developer API pricing
Provider: SeeAPI
USD estimate: $0.0037 / credit · Estimated equivalent, not an additional charge.
720p: 18 credits/sec (≈ $0.067/sec, other duration) | 18 credits/sec (≈ $0.067/sec, 0s)
1080p: 24 credits/sec (≈ $0.09/sec, other duration) | 24 credits/sec (≈ $0.09/sec, 0s)
After submitting a task, use the unified query endpoint to check progress and retrieve results:
Manage the secret used to verify generation webhook signatures. Callback URLs are supplied when you create each generation.
Callback URL per generation.
/v1/generationsA unique key for this generation request. Reuse the same value only when retrying the identical request body.
order-20260818-001The public model ID documented on this page. Use wan-2-7 for this Endpoint.
wan-2-7wan-2-7wan-2-7The public Endpoint ID for the selected model. Use the Endpoint whose input schema matches this request.
video-editvideo-editvideo-editOptional public Provider ID. Omit this field to use the Endpoint's default Provider.
seeapireplicateseeapiseeapiProvider-specific input object. Its accepted fields and validation rules depend on the selected provider.
Provider parameters
seeapiDefault ProviderOnly one video is supported. Formats: MP4, MOV. Duration: 2–10 seconds. Width and height: 240–4096 px. Aspect ratio: 1:8–8:1. Maximum file size: 100 MB.
https://client.example.com/input.mp4Formats: JPEG, JPG, PNG without an alpha channel, BMP, WebP. Width and height: 240–8000 px. Aspect ratio: 1:8–8:1.
Describe the content to generate, including the subject, scene, action, visual style, camera behavior, and other important details.
A cinematic city at nightSelect the width-to-height ratio of the generated output.
16:99:161:14:33:40 uses the full input video duration without truncation. Values 2–10 clip the output from second 0 to the specified length.
02345678910min: 0max: 100Select the requested output resolution. Higher resolutions may increase processing time and credit usage.
720p1080p1080pProvider-specific audio settings for the generated result. Configure only the nested options supported by this Endpoint.
autooriginautoDescribe visual elements or qualities that should be avoided in the generated result.
trueEnable SeeAPI's upstream NSFW checker. This option is exposed to API clients only.
falseOptional random seed used to make generation behavior more reproducible. Reusing a seed does not guarantee identical output across Provider or model revisions.
replicateInput video to edit. Formats: MP4, MOV. Duration: 2–10 seconds.
https://client.example.com/input.mp4Reference image for reference-based editing. Formats: JPEG, PNG, BMP, WebP.
Describe the content to generate, including the subject, scene, action, visual style, camera behavior, and other important details.
A cinematic city at nightSelect the width-to-height ratio of the generated output.
auto16:99:161:14:33:4autoOptional output duration in seconds. If omitted, the output matches the input video duration; when provided, use an integer from 2 to 10 to truncate the output.
Select the requested output resolution. Higher resolutions may increase processing time and credit usage.
720p1080p1080pProvider-specific audio settings for the generated result. Configure only the nested options supported by this Endpoint.
autooriginautoOptional random seed used to make generation behavior more reproducible. Reusing a seed does not guarantee identical output across Provider or model revisions.
Optional absolute HTTPS URL that receives terminal generation updates. If omitted, query the task-details endpoint with the returned generation ID.
https://client.example.com/webhooks/seeapitask_xxxwan-2-7video-editseeapireplicateseeapi: SeeAPIreplicate: ReplicateseeapiprocessingprocessingEstimated public credits. Values can include up to three decimal places.
24Consumed public credits, with up to three decimal places.
0Refunded public credits, with up to three decimal places.
02026-08-18T10:00:00Z2026-08-18T10:00:00ZWhether this response is an idempotent replay of an earlier request.
falsetask_xxxwan-2-7video-editseeapireplicateseeapi: SeeAPIreplicate: ReplicateseeapiprocessingprocessingEstimated public credits. Values can include up to three decimal places.
24Consumed public credits, with up to three decimal places.
0Refunded public credits, with up to three decimal places.
02026-08-18T10:00:00Z2026-08-18T10:00:00ZWhether this response is an idempotent replay of an earlier request.
falseInvalid JSON, parameters, Schema, or API Policy
Invalid API Key or authentication failed
Insufficient credits
The current request is not allowed
Model, Endpoint, or task not found
Idempotency conflict or the same request is still being created
Request body is too large
Too many requests
Service temporarily unavailable
const response = await fetch("https://api.seeapi.com/v1/generations", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "order-20260818-001",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "wan-2-7",
"endpoint": "video-edit",
"provider": "seeapi",
"input": {
"input_video": "https://client.example.com/input.mp4",
"prompt": "A cinematic city at night",
"aspect_ratio": "16:9",
"duration_seconds": 0,
"resolution": "1080p",
"audio_setting": "auto",
"enable_prompt_expansion": true,
"nsfw_checker": false
},
"callback_url": "https://client.example.com/webhooks/seeapi"
})
});
const result = await response.json();{
"generation": {
"id": "task_xxx",
"model": "wan-2-7",
"endpoint": "video-edit",
"provider": "seeapi",
"status": "processing",
"estimated_credits": 24,
"consumed_credits": 0,
"refunded_credits": 0,
"created_at": "2026-08-18T10:00:00Z",
"updated_at": "2026-08-18T10:00:00Z"
},
"idempotent": false
}