Перейти к основному содержанию

Documentation Index

Fetch the complete documentation index at: https://speshu.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Model for video generation with Wan 2.5. Supports 720p, 1080p resolution and 5 or 10 second duration. Includes seed, negative_prompt, and LLM-based prompt expansion. Note: Full API documentation is available at: Media Generation

Обзор

SpecificationValue
Model IDwan/2.5
Max prompt800 characters
aspect_ratio16:9, 9:16, 1:1
resolution720p, 1080p
duration5, 10 sec
images0–1
seed-1 – 2147483647
negative_promptup to 500 characters
enable_prompt_expansiontrue / false

Параметры

ParameterRequiredDescription
modelYeswan/2.5
promptYesText, up to 800 characters
aspect_ratioNo16:9, 9:16, 1:1
resolutionNo720p, 1080p
durationNo5, 10
imagesNo0–1
seedNoSeed for reproducibility
negative_promptNoWhat to exclude, up to 500 characters
enable_prompt_expansionNoEnhance prompt with LLM. Default: false

Request Example (cURL)

curl -X POST "https://speshu.ai/api/v1/media" \
  -H "Authorization: Bearer <SPESHU_AI_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan/2.5",
    "input": {
      "prompt": "Video description",
      "aspect_ratio": "16:9",
      "resolution": "720p",
      "duration": "5",
      "images": [],
      "seed": 42,
      "negative_prompt": "",
      "enable_prompt_expansion": "false"
    },
    "async": true
  }'