# Pixverse V6 > Generate stunning AI videos up to 15s with native audio, cinematic camera controls, and image-to-video support via PixVerse V6. ## Overview - **Endpoint**: `https://api.segmind.com/v1/pixverse-v6` - **Model ID**: `pixverse-v6` - **Category**: Image-to-Video Generation - **Type**: Synchronous (Direct response) - **Average Cost**: $0.7961538461538462 ## Pricing | quality | duration | cost | | --- | --- | --- | | 360p | 1 | 0.04375 | | 360p | 2 | 0.0875 | | 360p | 3 | 0.13125 | | 360p | 4 | 0.175 | | 360p | 5 | 0.21875 | | 360p | 6 | 0.2625 | | 360p | 7 | 0.30625 | | 360p | 8 | 0.35 | | 360p | 9 | 0.39375 | | 360p | 10 | 0.4375 | | 360p | 11 | 0.48125 | | 360p | 12 | 0.525 | | 360p | 13 | 0.56875 | | 360p | 14 | 0.6125 | | 360p | 15 | 0.65625 | | 540p | 1 | 0.05625 | | 540p | 2 | 0.1125 | | 540p | 3 | 0.16875 | | 540p | 4 | 0.225 | | 540p | 5 | 0.28125 | | 540p | 6 | 0.3375 | | 540p | 7 | 0.39375 | | 540p | 8 | 0.45 | | 540p | 9 | 0.50625 | | 540p | 10 | 0.5625 | | 540p | 11 | 0.61875 | | 540p | 12 | 0.675 | | 540p | 13 | 0.73125 | | 540p | 14 | 0.7875 | | 540p | 15 | 0.84375 | | 720p | 1 | 0.075 | | 720p | 2 | 0.15 | | 720p | 3 | 0.225 | | 720p | 4 | 0.3 | | 720p | 5 | 0.375 | | 720p | 6 | 0.45 | | 720p | 7 | 0.525 | | 720p | 8 | 0.6 | | 720p | 9 | 0.675 | | 720p | 10 | 0.75 | | 720p | 11 | 0.825 | | 720p | 12 | 0.9 | | 720p | 13 | 0.975 | | 720p | 14 | 1.05 | | 720p | 15 | 1.125 | | 1080p | 1 | 0.14375 | | 1080p | 2 | 0.2875 | | 1080p | 3 | 0.43125 | | 1080p | 4 | 0.575 | | 1080p | 5 | 0.71875 | | 1080p | 6 | 0.8625 | | 1080p | 7 | 1.00625 | | 1080p | 8 | 1.15 | | 1080p | 9 | 1.29375 | | 1080p | 10 | 1.4375 | | 1080p | 11 | 1.58125 | | 1080p | 12 | 1.725 | | 1080p | 13 | 1.86875 | | 1080p | 14 | 2.0125 | | 1080p | 15 | 2.15625 | ## API Information This model uses a **synchronous response pattern**: 1. Make a POST request with your parameters 2. Receive the output directly in the response (binary for images/videos/audio, JSON for text) 3. No polling required - response is immediate ### Input Schema The API accepts the following input parameters: - **`prompt`** (`string`, _required_): Prompt Describe scene, subject, action, and visual style to generate. - Default: `"A cinematic shot of a beautiful woman in a flowing red dress walking gracefully through a sunlit European street, golden hour lighting, smooth camera movement"` - **`image_url`** (`File (URL)`, _optional_): Image uRL Hosted image URL to animate for image-to-video generation. - Default: `"https://segmind-resources.s3.amazonaws.com/input/pixverse-v6-input.png"` - **`negative_prompt`** (`string | null`, _optional_): Negative prompt Elements to exclude. Suppress artifacts, styles, or excess motion. - Default: `"No sudden movements, no fast zooms, no distortion."` - **`duration`** (`integer`, _required_): Duration Video length in seconds, 1-15. Use 5s for social. - Default: `5` - Options: "1" (1), "2" (2), "3" (3), "4" (4), "5" (5), "6" (6), "7" (7), "8" (8), "9" (9), "10" (10), "11" (11), "12" (12), "13" (13), "14" (14), "15" (15) - **`quality`** (`string`, _required_): Quality Output resolution. 540p for previews, 1080p for final delivery. - Default: `"540p"` - Options: "360p" (360p), "540p" (540p), "720p" (720p), "1080p" (1080p) - **`aspect_ratio`** (`string | null`, _optional_): Aspect ratio Frame ratio. 9:16 for Reels, 16:9 for YouTube, 1:1 feed. - Default: `"16:9"` - Options: "16:9" (16:9), "4:3" (4:3), "1:1" (1:1), "3:4" (3:4), "9:16" (9:16), "2:3" (2:3), "3:2" (3:2), "21:9" (21:9) - **`motion_mode`** (`string | null`, _optional_): Motion mode Motion intensity. Normal for cinematic, fast for action. - Default: `"normal"` - Options: "normal" (normal), "fast" (fast) - **`seed`** (`integer | null`, _optional_): Seed Fixed integer for reproducible outputs. Omit for random variation. - Range: 0 to 2147483647 - **`generate_audio_switch`** (`boolean | null`, _optional_): Generate audio Toggle AI audio generation. Disable for silent video output. - Default: `true` - **`thinking_type`** (`string | null`, _optional_): Thinking type AI reasoning depth. Auto adapts; enabled for complex scenes. - Default: `"auto"` - Options: "enabled" (enabled), "disabled" (disabled), "auto" (auto) **Required Parameters Example**: ```json { "prompt": "A cinematic shot of a beautiful woman in a flowing red dress walking gracefully through a sunlit European street, golden hour lighting, smooth camera movement", "duration": 5, "quality": "540p" } ``` **Full Example**: ```json { "prompt": "A cinematic shot of a beautiful woman in a flowing red dress walking gracefully through a sunlit European street, golden hour lighting, smooth camera movement", "image_url": "https://segmind-resources.s3.amazonaws.com/input/pixverse-v6-input.png", "negative_prompt": "No sudden movements, no fast zooms, no distortion.", "duration": 5, "quality": "540p", "aspect_ratio": "16:9", "motion_mode": "normal", "seed": null, "generate_audio_switch": true, "thinking_type": "auto" } ``` ### Output Schema The API returns a synchronous response based on the model type: **For Image/Video/Audio Models**: - Response contains binary data (image/png, video/mp4, audio/mp3) - Content-Type header indicates the media type - Save the response body directly to a file **For Text Models**: - Response is JSON with the generated text - Structure varies by model **HTTP Response Codes**: - **200 - OK**: Request successful, output in response body - **400 - Bad Request**: Invalid parameters - **401 - Unauthorized**: Invalid or missing API key - **404 - Not Found**: Model not found - **406 - Not Acceptable**: Insufficient credits - **429 - Too Many Requests**: Rate limit exceeded - **500 - Server Error**: Internal server error ## Usage Examples ### cURL ```bash curl -X POST "https://api.segmind.com/v1/pixverse-v6" \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "prompt": "A cinematic shot of a beautiful woman in a flowing red dress walking gracefully through a sunlit European street, golden hour lighting, smooth camera movement", "image_url": "https://segmind-resources.s3.amazonaws.com/input/pixverse-v6-input.png", "negative_prompt": "No sudden movements, no fast zooms, no distortion.", "duration": 5, "quality": "540p", "aspect_ratio": "16:9", "motion_mode": "normal", "seed": null, "generate_audio_switch": true, "thinking_type": "auto" }' ``` ### Python ```python import requests import json api_key = "YOUR_API_KEY" url = "https://api.segmind.com/v1/pixverse-v6" data = { "prompt": "A cinematic shot of a beautiful woman in a flowing red dress walking gracefully through a sunlit European street, golden hour lighting, smooth camera movement", "image_url": "https://segmind-resources.s3.amazonaws.com/input/pixverse-v6-input.png", "negative_prompt": "No sudden movements, no fast zooms, no distortion.", "duration": 5, "quality": "540p", "aspect_ratio": "16:9", "motion_mode": "normal", "seed": null, "generate_audio_switch": true, "thinking_type": "auto" } response = requests.post( url, json=data, headers={ 'x-api-key': api_key, 'Content-Type': 'application/json' } ) if response.status_code == 200: # For image/video/audio models, response.content contains the binary data with open('output.png', 'wb') as f: f.write(response.content) print('Generation complete, saved to output.png') else: print(f"Error: {response.status_code}") print(response.text) ``` ### JavaScript ```javascript const apiKey = 'YOUR_API_KEY'; const url = 'https://api.segmind.com/v1/pixverse-v6'; const data = { "prompt": "A cinematic shot of a beautiful woman in a flowing red dress walking gracefully through a sunlit European street, golden hour lighting, smooth camera movement", "image_url": "https://segmind-resources.s3.amazonaws.com/input/pixverse-v6-input.png", "negative_prompt": "No sudden movements, no fast zooms, no distortion.", "duration": 5, "quality": "540p", "aspect_ratio": "16:9", "motion_mode": "normal", "seed": null, "generate_audio_switch": true, "thinking_type": "auto" }; const response = await fetch(url, { method: 'POST', headers: { 'x-api-key': apiKey, 'Content-Type': 'application/json', }, body: JSON.stringify(data), }); if (response.ok) { // For image/video/audio models, response contains binary data const blob = await response.blob(); const downloadUrl = URL.createObjectURL(blob); // Create download link const a = document.createElement('a'); a.href = downloadUrl; a.download = 'output.png'; a.click(); console.log('Generation complete'); } ``` ## Additional Resources ### Documentation - [Model Playground](https://www.segmind.com/models/pixverse-v6) - [API Documentation](https://www.segmind.com/models/pixverse-v6/api) - [Pricing Details](https://www.segmind.com/models/pixverse-v6/pricing) - [Platform Documentation](https://docs.segmind.com/) ### Tags No tags available