---
title: "wan2.7-text-to-video (best)"
method: POST
path: "/api/v1/wan2.7-text-to-video"
tags: ["Video: Text-to-Video"]
---

# wan2.7-text-to-video (best)

`POST /api/v1/wan2.7-text-to-video`

## Request

- Base URL: `https://api.muapi.ai`
- URL: `https://api.muapi.ai/api/v1/wan2.7-text-to-video`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2 (client credentials, token URL `https://api.muapi.ai/oauth/token`)

Generate videos from text using Wan 2.7 (March 2026, thinking mode, 60fps native, 4K Pro, audio sync). Input: text prompt. Output: video. Use for: state-of-the-art video generation, 60fps videos.

## Query parameters

- `webhook` string
- `team_id` integer, nullable

## Headers

- `x-api-key` string
- `x-embed-code` string, nullable
- `x-agent-embed-code` string, nullable
- `x-whitelabel-studio` string, nullable
- `authorization` string, nullable

## Request body

- Wan27T2VRequest
  - `prompt` string, required
  - `negative_prompt` string, nullable
  - `audio_url` string, uri, nullable
  - `resolution` '720p' | '1080p'
  - `aspect_ratio` '16:9' | '9:16' | '1:1' | '4:3' | '3:4'
  - `duration` integer
  - `webhook_url` string, uri, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/muapi/apis/muapi-api.md) · [All operations](https://skmtc.dev/muapi/apis/muapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/muapi/apis/muapi-api/revisions/e4b7374381e5?raw)
