Pixverse Transition
PixVerse V4 transforms static images and text into dynamic, visually stunning videos for creators across various industries.
API
If you're looking for an API, you can choose from your desired programming language.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import requests
import base64
# Use this function to convert an image file from the filesystem to base64
def image_file_to_base64(image_path):
with open(image_path, 'rb') as f:
image_data = f.read()
return base64.b64encode(image_data).decode('utf-8')
# Use this function to fetch an image from a URL and convert it to base64
def image_url_to_base64(image_url):
response = requests.get(image_url)
image_data = response.content
return base64.b64encode(image_data).decode('utf-8')
# Use this function to convert a list of image URLs to base64
def image_urls_to_base64(image_urls):
return [image_url_to_base64(url) for url in image_urls]
api_key = "YOUR_API_KEY"
url = "https://api.segmind.com/v1/pixverse-transition"
# Request payload
data = {
"first_frame_url": "https://segmind-inference-inputs.s3.amazonaws.com/e900af97-db46-406d-8403-71210db253c4-pixverse-4.5-transition-first-frame-input.webp",
"last_frame_url": "https://segmind-inference-inputs.s3.amazonaws.com/a5e271e3-e37b-4426-a572-06b514319a4c-pixverse-4.5-transition-last-frame-input.webp",
"duration": 8,
"prompt": "Butterflies fluttering in a sunny meadow.",
"quality": "720p",
"seed": 12345,
"motion_mode": "normal"
}
headers = {'x-api-key': api_key}
response = requests.post(url, json=data, headers=headers)
print(response.content) # The response is the generated image
Attributes
URL for the starting image. Use high-quality images for better transitions.
URL for the ending image. High-quality images enhance visual transitions.
Video length in seconds. Choose 5 for quick previews, 8 for detailed animations.
Allowed values:
Animation theme description. Try thematic prompts for creative animations.
Video resolution. Use 1080p for high quality, 360p for fast previews.
Allowed values:
Seed for repeat results. Change for unique animations.
min : 1,
max : 999999
Animation motion style. 'Normal' is smooth, 'fast' is rapid.
Allowed values:
To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.
Resources to get you started
Everything you need to know to get the most out of Pixverse Transition
PixVerse V4: Effective Usage Guide
PixVerse V4 empowers developers, creators, and executives at Segmind with cutting-edge AI video generation. This guide walks you through best practices, parameter selections, and workflows to maximize output quality and creative impact.
1. Core Parameter Overview
- •first_frame_url & last_frame_url: High-resolution images (≥1080px) yield smoother transitions.
- •prompt: Concise, descriptive text drives theme, style, and mood (“neon cityscape at dusk”).
- •duration: Dropdown [5, 8] seconds.
- •quality: Dropdown [360p, 540p, 720p, 1080p].
- •motion_mode: “normal” for fluid animations, “fast” for energetic motion.
- •seed: Integer [1–999999] for reproducibility or varied outputs.
2. Quick Previews vs. Final Renders
Use shorter, lower-res clips to iterate rapidly, then upscale for final delivery:
Use Case | duration | quality | motion_mode | seed |
---|---|---|---|---|
Rapid Prototyping | 5 sec | 360p | fast | random |
Detailed Preview | 8 sec | 540p | normal | fixed |
Final Cinematic | 8 sec | 1080p | normal | fixed |
Example JSON for a detailed preview:
{
"first_frame_url": "https://…-first-frame.webp",
"last_frame_url": "https://…-last-frame.webp",
"prompt": "Futuristic robot assembling a spacecraft in low light",
"duration": 8,
"quality": "540p",
"motion_mode": "normal",
"seed": 424242
}
3. Advanced Prompt Engineering
- •Style Tags: Append “—anime”, “—cinematic lens”, or “—documentary” in the prompt.
- •Multi-Image References: Supply varied stills under
first_frame_url
/last_frame_url
to anchor complex visuals. - •Iterative Refinement: Tweak adjectives (color temperature, pacing) and rerun for fine-tuned animations.
4. Use Case Tailoring
- •Social Media Shorts:
• duration=5, quality=360p, motion_mode=fast, seed=random
• Prompt with trending keywords: “dance montage in neon club” - •Product Demos:
• duration=8, quality=720p, motion_mode=normal, seed=123456
• Use high-res product images as frames and “—macro lens” styling - •Educational Explainers:
• duration=8, quality=1080p, motion_mode=normal
• Prompt: “diagram transitions illustrating photosynthesis steps”
5. Workflow Tips
- •Always start with a small batch: experiment on low-res previews.
- •Lock the seed for consistent A/B testing.
- •Leverage cinematic lens controls and motion_mode to match narrative pacing.
By aligning PixVerse V4’s parameters with your project goals, you’ll unlock high-quality, dynamic videos that elevate your brand storytelling and creative output.
Other Popular Models
Discover other models you might be interested in.
sdxl-controlnet
SDXL ControlNet gives unprecedented control over text-to-image generation. SDXL ControlNet models Introduces the concept of conditioning inputs, which provide additional information to guide the image generation process

fooocus
Fooocus enables high-quality image generation effortlessly, combining the best of Stable Diffusion and Midjourney.

faceswap-v2
Take a picture/gif and replace the face in it with a face of your choice. You only need one image of the desired face. No dataset, no training

sd2.1-faceswapper
Take a picture/gif and replace the face in it with a face of your choice. You only need one image of the desired face. No dataset, no training
