PixVerse 5.6 API
activePixVerse 5.6 — fast AI video generation with stylized output. Supports text-to-video and image-to-video.
Quick Start
Send a request to the PixVerse 5.6 API:
| 1 | curl -X POST https://apiin.one/api/v1/videos/generations \ |
| 2 | -H "Authorization: Bearer YOUR_API_KEY" \ |
| 3 | -H "Content-Type: application/json" \ |
| 4 | -d '{ |
| 5 | "model": "pixverse-5-6", |
| 6 | "prompt": "A dragon flying over a medieval castle, fantasy style", |
| 7 | "resolution": "720p", |
| 8 | "duration": 5, |
| 9 | "thinking_type": "auto" |
| 10 | }' |
API Endpoint
/api/v1/videos/generationsSend a POST request with your API key to generate content using PixVerse 5.6.
Headers
Bearer YOUR_API_KEY
application/json
Body Parameters
Model identifier: pixverse-5-6
Text description of the video
Reference image URL for image-to-video mode
Output resolution: 360p, 540p, 720p, or 1080p Defaults to 720p.
Video duration: 5, 8, or 10 seconds Defaults to 5.
Aspect ratio: 16:9, 4:3, 1:1, 3:4, 9:16
Enable audio generation (doubles credits) Defaults to false.
Thinking mode: enabled, disabled, or auto Defaults to auto.
Elements to avoid in generation
Random seed for reproducibility
Example Request
| 1 | { |
| 2 | "model": "pixverse-5-6", |
| 3 | "prompt": "A dragon flying over a medieval castle, fantasy style", |
| 4 | "resolution": "720p", |
| 5 | "duration": 5, |
| 6 | "thinking_type": "auto" |
| 7 | } |
Example Response
Successful task creation response.
| 1 | { |
| 2 | "code": 200, |
| 3 | "message": "success", |
| 4 | "data": { |
| 5 | "task_id": "n65xxxx_pixverse", |
| 6 | "status": "IN_PROGRESS" |
| 7 | } |
| 8 | } |
Check Task Status
For asynchronous tasks, poll the status endpoint to check when your task is complete:
/api/v1/tasks/{task_id}Returns the current status of a generation task. Poll until status is 'completed' or 'failed'.
| 1 | curl https://apiin.one/api/v1/tasks/task_abc123 \ |
| 2 | -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:
Error Codes
| 1 | { |
| 2 | "error": { |
| 3 | "code": 400, |
| 4 | "message": "Invalid parameters", |
| 5 | "type": "invalid_request" |
| 6 | } |
| 7 | } |
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?
Ready to use PixVerse 5.6?
Get Your API Key →