curl-X POST 'https://pollo.ai/api/platform/v1/generation/pixverse/pixverse-v4/video'\-H'Content-Type: application/json'\-H'x-api-key: YOUR_API_KEY'\-d'{ "input": { "prompt": "A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field", "negativePrompt": "blurry, low quality, distorted, watermark, text", "aspectRatio": "16:9", "duration": 5, "resolution": "360p", "style": "auto", "mode": "normal", "generateAudio": true }}'
İsteğe bağlı olarak, görev başarılı veya başarısız olduğunda geri bildirim almak için webhookUrl'yi ekleyebilirsiniz.
İsteğe bağlı istek alanı
{"input":{"prompt":"A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field","negativePrompt":"blurry, low quality, distorted, watermark, text","aspectRatio":"16:9","duration":5,"resolution":"360p","style":"auto","mode":"normal","generateAudio":true},"webhookUrl":"https://example.com/webhooks/pollo"}
Şema
Seçilen uç nokta ve mod için giriş alanları.
Alan
Tip
Gerekli
Tanım
prompt
string
Evet
Text prompt describing the content to generate.
negativePrompt
string
HAYIR
Text describing elements to avoid in the generated output.
aspectRatio
string
HAYIR
Output aspect ratio, as width:height (e.g. 16:9).
duration
number
HAYIR
The duration of the generated video, in seconds.
resolution
string
HAYIR
Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive.
style
string
HAYIR
Visual style preset applied to the generation.
mode
string
HAYIR
Generation mode of the model (e.g. a faster or higher-quality tier).
seed
integer
HAYIR
Random seed for reproducible generation.
generateAudio
boolean
HAYIR
Generate natural-sounding, fitting audio for the output video.
PixVerse 4.0 supports built-in anime, 3D animation, clay, comic, and cyberpunk style presets for generating videos with different visual directions.
With PixVerse 4.0 on Pollo API, you can integrate text-to-video and image-to-video generation, configure 5- or 8-second clip durations, and select the resolution and generation mode for each request.
Key Features of PixVerse 4.0 API
Native Style Presets
Support anime, 3D animation, clay, comic, and cyberpunk presets that can be selected through the style parameter to define the video’s visual direction.
First And Last Frame Control
Supply a starting image and an optional tail image to guide the motion and transition between the opening and ending frames for transformations, reveals, and loops.
Fast And Normal Modes
Provide fast and normal generation modes for balancing processing speed and output resolution across preview and production workflows.
Flexible Framing
Text-to-video generation supports 16:9, 9:16, 1:1, 4:3, and 3:4 aspect ratios for landscape, portrait, square, and social video formats.
Prompt And Negative Prompt Steering
Accept both prompts and negative prompts to define subjects, actions, colors, visual details, and elements that should be excluded from the generated video.
Use Cases of PixVerse 4.0 API
Anime Short Clips: Generate stylized animated moments for apps serving manga, webtoon, and fan-art audiences without commissioning frame-by-frame work.
Clay And Comic Explainers: Render playful clay or comic-style scenes for educational tools, kids' content, and character-driven storytelling apps.
Cyberpunk Scene Builders: Produce neon-lit sci-fi shots for game teasers, music visualizers, and genre-focused creator platforms.
Photo Animation: Turn a source image into a moving clip while preserving its primary subject, composition, and visual direction.
Frame-Matched Transitions: Use starting and tail images to guide transitions, transformations, intros, and outros for editing tools and template libraries.
Rapid Draft Pipelines: Use fast mode to preview prompts, styles, and compositions before generating higher-resolution final clips.
Vertical Social Content: Generate 9:16 clips for short-form platforms, social feeds, stories, and automated content workflows.
How to Use PixVerse 4.0 API
Get an API Key: Create a Pollo API account and generate your API key from the developer dashboard.
Choose the Model: Send requests to the PixVerse 4.0 endpoint at /generation/pixverse/pixverse-v4.
Add Your Inputs: Pass a prompt for text-to-video, or an image URL (plus optional imageTail) for image-to-video, then set length (5 or 8), resolution, style, and mode.
Generate and Retrieve: Submit the task, poll the returned task status, and download the video once processing succeeds.
Prompting Best Practices for PixVerse 4.0 API
Lead with the desired style, then describe the subject and its motion clearly. Specify the preset early to guide the clip’s visual direction and maintain consistency across the generated video.
A Simple Prompt Formula
Style choice + subject + specific motion + camera or framing + setting and lighting mood
What You Should Notice
Pick A Style First: State anime, clay, comic, 3D, or cyberpunk at the beginning of the prompt to guide the clip’s visual direction.
Use Negative Prompts: List artifacts or elements to avoid, such as blur or extra limbs, to provide clearer exclusion guidance.
Set Frames For Control: Provide a tail image when you need a specific ending, like a logo reveal or closing pose.
Match Mode To Goal: Use fast mode for prompt and composition previews, then generate final outputs in normal mode when higher resolution is required.
Keep Motion Focused: Describe one primary action per clip to maintain clearer motion and scene progression across 5- or 8-second videos.
Example Prompts
Anime Action Beat
"Anime style, a young courier sprints across rooftops at dusk, cloak snapping in the wind, then leaps a gap and lands in a crouch. Low tracking camera, warm sunset backlight, energetic hand-drawn animation feel."
Claymation Moment
"Clay style, a round little robot waddles to a workbench, picks up a tiny wrench, and tightens a bolt with a satisfied wobble. Soft studio lighting, shallow tabletop set, stop-motion clay texture throughout."
Cyberpunk Alley
"Cyberpunk style, a hooded street vendor flips a glowing holographic sign as rain streaks past neon kanji signage. Slow dolly-in, teal and magenta reflections on wet pavement, dense futuristic city mood."
Comic Panel Come To Life
"Comic style, a detective flips open a notebook, ink lines snapping into place, then looks up sharply as a shadow crosses the frame. Bold outlines, halftone shading, tight medium shot, dramatic desk-lamp light."
PixVerse 4.0 vs Pika 2.2 vs Kling 2.1
Capability
PixVerse 4.0
Pika 2.2
Kling 2.1
Built-in style presets
✅ Anime, 3D, clay, comic, cyberpunk
✅ Limited effects and styles
❌ Realism-focused
First and last frame control
✅ Start plus optional tail image
✅ Keyframe support
✅ Start and end frames
Text and image inputs
✅
✅
✅
Resolution options
360p to 1080p
Up to 1080p
Up to 1080p
Clip length
5 or 8 seconds
Short clips
5 or 10 seconds
Draft speed control
✅ Fast and normal modes
✅ Fast turnaround
❌ Fewer speed options
Recommended For
Stylized, preset-driven clips
Quick effect-led shorts
Realistic, high-fidelity motion
Why Choose PixVerse 4.0 API?
PixVerse 4.0 is suitable for applications that require multiple visual styles, including anime, clay, comic, 3D animation, and cyberpunk.
Support for first-to-last frame control and fast generation mode makes it suitable for stylized animation, photo animation, transitions, and rapid content prototyping.
Through Pollo API, PixVerse 4.0 can be accessed alongside other video and image models through a single API, simplifying model evaluation, integration, and deployment.
PixVerse 4.0 API FAQs
What is PixVerse 4.0?
PixVerse 4.0 is a PixVerse video generation model that turns text and images into short clips, with built-in style presets, first and last frame control, and adjustable generation speed.
Does PixVerse 4.0 API support text and image inputs?
Yes. You can generate from a text prompt or animate an uploaded image, and optionally add a tail image to define how the clip ends.
What styles can PixVerse 4.0 produce?
It offers auto, anime, 3D animation, clay, comic, and cyberpunk presets, so one integration can serve many visual briefs by changing a single setting.
What resolutions and lengths are available?
PixVerse 4.0 supports up to 1080p output and clip lengths of 5 or 8 seconds, though 1080p is not available in fast mode or for 8 second clips.
What is fast mode for?
Fast mode returns clips more quickly at capped resolution, ideal for previewing concepts cheaply before re-rendering the best ones in normal mode.
Why run PixVerse 4.0 through Pollo API?
Pollo API provides access to PixVerse 4.0 alongside other video and image models through a single integration, with documentation and asynchronous task tracking.