Skip to main content
POST
/
generation
/
wan
/
wan-v2.7-pro
Wan V2.7 Pro
curl --request POST \
  --url https://open.skills.video/api/v1/generation/wan/wan-v2.7-pro \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>"
}
'
{
  "id": "<string>",
  "status": "starting",
  "usage": {
    "total": 0,
    "subscription": 0,
    "permanent": 0
  }
}
Wan 2.7 Pro image generation and editing model.

Authorizations

Authorization
string
header
required

API Key for API endpoints

Body

prompt
string
required

Text prompt describing the desired output or edit. Supports Chinese and English.

Required string length: 1 - 2000
n
integer
default:1

Number of results to generate (1-4)

Required range: 1 <= x <= 4
image_urls
string<uri>[]

Optional reference images for edit mode (1-4 images). Each image must be at least 384x384 pixels. When provided, the model runs image edit.

Maximum array length: 4
negative_prompt
string
default:""

Content to avoid in the generated image. Max 500 characters.

Maximum string length: 500
aspect_ratio
enum<string>
default:1:1

Aspect ratio used to derive output size.

Available options:
1:1,
3:4,
9:16,
4:3,
16:9
image_size
enum<string>

Output image size preset. Advanced override.

Available options:
square_hd,
square,
portrait_4_3,
portrait_16_9,
portrait_9_16,
landscape_4_3,
landscape_16_9
enable_prompt_expansion
boolean
default:true

Enable prompt expansion. Only used in edit mode.

seed
integer | null

Random seed for reproducibility (0-2147483647).

Required range: 0 <= x <= 2147483647
enable_safety_checker
boolean
default:true

Enable content moderation for input and output.

num_images
integer
default:1

Number of images to generate. Text mode supports up to 5; edit mode supports up to 4.

Required range: 1 <= x <= 5
max_images
integer
default:1

Maximum number of images to generate (1-5). Used by text mode.

Required range: 1 <= x <= 5

Response

Generation status

id
string
required

Generation id.

status
enum<string>
required

Generation status

Available options:
starting,
processing,
succeeded,
failed,
canceled
usage
object
required

Credit usage breakdown for the request