PixVerse 5.6 API
activePixVerse 5.6 — fast AI video generation with stylized output. Supports text-to-video and image-to-video.
PixVersevideo70 credits/call
Provider
PixVerse
Pricing
70–300 credits per video (~$0.14–$0.60)
Speed
30–90 seconds
Output
video
Quick Start
Send a request to the PixVerse 5.6 API:
bash
curl -X POST https://apiin.one/api/v1/videos/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "pixverse-5-6",
"prompt": "A dragon flying over a medieval castle, fantasy style",
"resolution": "720p",
"duration": 5,
"thinking_type": "auto"
}'API Endpoint
POST
/api/v1/videos/generationsSend a POST request with your API key to generate content using PixVerse 5.6.
Headers
| Header | 类型 | 必填 | 描述 |
|---|---|---|---|
Authorization | string | 必填 | Bearer YOUR_API_KEY |
Content-Type | string | 必填 | application/json |
Body Parameters
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
model | string | 必填 | Model identifier: "pixverse-5-6" |
prompt | string | 必填 | Text description of the video |
image | string | 可选 | Reference image URL for image-to-video mode |
resolution | string | 可选 | Output resolution: "360p", "540p", "720p", or "1080p" (默认值: 720p) |
duration | number | 可选 | Video duration: 5, 8, or 10 seconds (默认值: 5) |
resolution_ratio | string | 可选 | Aspect ratio: 16:9, 4:3, 1:1, 3:4, 9:16 |
generate_audio_switch | boolean | 可选 | Enable audio generation (doubles credits) (默认值: false) |
thinking_type | string | 可选 | Thinking mode: "enabled", "disabled", or "auto" (默认值: auto) |
negative_prompt | string | 可选 | Elements to avoid in generation |
seed | number | 可选 | Random seed for reproducibility |
Example Request
json
{
"model": "pixverse-5-6",
"prompt": "A dragon flying over a medieval castle, fantasy style",
"resolution": "720p",
"duration": 5,
"thinking_type": "auto"
}Example Response
Successful task creation response.
{
"code": 200,
"message": "success",
"data": {
"task_id": "n65xxxx_pixverse",
"status": "IN_PROGRESS"
}
}Check Task Status
For asynchronous tasks, poll the status endpoint to check when your task is complete:
GET
/api/v1/tasks/{task_id}Returns the current status of a generation task. Poll until status is 'completed' or 'failed'.
bash
curl https://apiin.one/api/v1/tasks/task_abc123 \
-H "Authorization: Bearer aio_your_key"Use Cases
- ✓Rapid video prototyping for creative projects
- ✓Generate stylized short-form video content
- ✓Build video generation into design tools
- ✓Create animated social media content
API Tester
Test the PixVerse 5.6 API directly from your browser:
API 测试沙盒POST
Error Codes
{
"error": {
"code": 400,
"message": "Invalid parameters",
"type": "invalid_request"
}
}Frequently Asked Questions
How much does the PixVerse API cost?
Pricing depends on resolution and duration: 360p/540p 5s costs 70 credits, 720p 5s costs 90, 1080p 5s costs 150. Longer duration and audio-enabled doubles the cost.
What is thinking mode?
PixVerse 5.6 has a "thinking_type" parameter (enabled/disabled/auto) that enables deeper scene understanding for better results.
Does PixVerse support audio?
Yes. Set generate_audio_switch to true to generate audio alongside the video. This doubles the credit cost.
Why Use PixVerse 5.6 Through API in One?
1Thinking mode for better scene understanding
2Audio generation support
3Up to 1080p resolution
4Multiple duration options (5, 8, 10 seconds)
Ready to use PixVerse 5.6?
Get Your API Key →