PixVerse 5.6 - video generation API

PixVerse 5.6 API

active

PixVerse 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
1curl -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

POST/api/v1/videos/generations

Send a POST request with your API key to generate content using PixVerse 5.6.

Headers

Body ParametersJSON
Authorization:string

Bearer YOUR_API_KEY

Content-Type:string

application/json

Body Parameters

Body ParametersJSON
model:string

Model identifier: pixverse-5-6

prompt:string

Text description of the video

image:optional string

Reference image URL for image-to-video mode

resolution:optional string

Output resolution: 360p, 540p, 720p, or 1080p Defaults to 720p.

duration:optional number

Video duration: 5, 8, or 10 seconds Defaults to 5.

resolution_ratio:optional string

Aspect ratio: 16:9, 4:3, 1:1, 3:4, 9:16

generate_audio_switch:optional boolean

Enable audio generation (doubles credits) Defaults to false.

thinking_type:optional string

Thinking mode: enabled, disabled, or auto Defaults to auto.

negative_prompt:optional string

Elements to avoid in generation

seed:optional number

Random seed for reproducibility

Example Request

json
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:

GET/api/v1/tasks/{task_id}

Returns the current status of a generation task. Poll until status is 'completed' or 'failed'.

bash
1curl 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:

API 테스트 환경POST

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?

1.Thinking mode for better scene understanding
2.Audio generation support
3.Up to 1080p resolution
4.Multiple duration options (5, 8, 10 seconds)

Ready to use PixVerse 5.6?

Get Your API Key →