Video Effects Red Or White
Playground
Try it on WavespeedAI!Generate high-quality videos from text descriptions using PixVerse’s latest v4.5 model. Supports multiple resolutions, aspect ratios, and motion modes for versatile video creation.
Features
PixVerse v4.5 Text-to-Video
Features
High-Quality Video Generation
- Multiple resolution options (360p to 1080p)
- Various aspect ratios (16:9, 4:3, 1:1, 3:4, 9:16)
- Adjustable motion modes (normal/fast)
Flexible Duration
- 5 seconds (all resolutions)
- 8 seconds (up to 720p)
Style Control
- Optional style presets for v3.5 model
- Supports negative prompts
- Optional watermark
Requirements
Prompt
- Maximum length: 2048 characters
- Clear description of desired scene and motion
Resolution Options
- 360p (Turbo mode)
- 540p
- 720p
- 1080p (5s only)
Motion Modes
- Normal: Standard motion
- Fast: Quick transitions (5s videos only)
Best Practices
- Use clear, detailed prompts
- Consider resolution limitations
- Match duration with quality needs
- Use appropriate aspect ratio
- Test different motion modes
Limitations
- 1080p limited to 5s duration
- Fast motion only for 5s videos
- Style presets only for v3.5 model
- Template ID requires activation
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/video-effects/red-or-white" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
"image": "https://d1q70pf5vjeyhc.wavespeed.ai/media/images/1752493732681798445_K6K357gG.jpeg",
"resolution": "540p"
}'
# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"
Parameters
Task Submission Parameters
Request Parameters
Parameter | Type | Required | Default | Range | Description |
---|---|---|---|---|---|
image | string | Yes | - | First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1. | |
resolution | string | No | 540p | - | Video quality (360p/540p/720p/1080p). |
Response Parameters
Parameter | Type | Description |
---|---|---|
code | integer | HTTP status code (e.g., 200 for success) |
message | string | Status message (e.g., “success”) |
data.id | string | Unique identifier for the prediction, Task Id |
data.model | string | Model ID used for the prediction |
data.outputs | array | Array of URLs to the generated content (empty when status is not completed ) |
data.urls | object | Object containing related API endpoints |
data.urls.get | string | URL to retrieve the prediction result |
data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
data.status | string | Status of the task: created , processing , completed , or failed |
data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
data.error | string | Error message (empty if no error occurred) |
data.timings | object | Object containing timing details |
data.timings.inference | integer | Inference time in milliseconds |
Result Query Parameters
Result Request Parameters
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
id | string | Yes | - | Task ID |
Result Response Parameters
Parameter | Type | Description |
---|---|---|
code | integer | HTTP status code (e.g., 200 for success) |
message | string | Status message (e.g., “success”) |
data | object | The prediction data object containing all details |
data.id | string | Unique identifier for the prediction, the ID of the prediction to get |
data.model | string | Model ID used for the prediction |
data.outputs | array | Array of URLs to the generated content (empty when status is not completed ) |
data.urls | object | Object containing related API endpoints |
data.urls.get | string | URL to retrieve the prediction result |
data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
data.status | string | Status of the task: created , processing , completed , or failed |
data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
data.error | string | Error message (empty if no error occurred) |
data.timings | object | Object containing timing details |
data.timings.inference | integer | Inference time in milliseconds |