Pixverse 4.5 Transition

PixVerse 4.5 transforms still images into dynamic, captivating videos with seamless transitions.


API

If you're looking for an API, you can choose from your desired programming language.

POST
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-4.5-transition" # Request payload data = { "first_frame_url": "https://segmind-inference-inputs.s3.amazonaws.com/412d207c-d812-43cd-b0e3-bc02410bf77f-pixverse-transition-first-image-input.jpg", "last_frame_url": "https://segmind-inference-inputs.s3.amazonaws.com/f42b68a9-4ece-4373-a57c-ee3b1f42020e-pixverse-transition-last-frame-input.jpg", "duration": 5, "prompt": "a dramatic sunset over the ocean, rich color gradient.", "quality": "540p", "seed": 56698, "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
RESPONSE
video/mp4
HTTP Response Codes
200 - OKImage Generated
401 - UnauthorizedUser authentication failed
404 - Not FoundThe requested URL does not exist
405 - Method Not AllowedThe requested HTTP method is not allowed
406 - Not AcceptableNot enough credits
500 - Server ErrorServer had some issue with processing

Attributes


first_frame_urlstr *

URL for the starting image. Use high-resolution images for best results.


last_frame_urlstr *

URL for the ending image. Opt for quality images for seamless transition.


durationenum:int *

Set video duration. Choose 5 seconds for quick transitions, 8 seconds for detailed transitions.

Allowed values:


promptstr *

Describe the animation theme. Try 'a dramatic sunset over the ocean, rich color gradient'.


qualityenum:str *

Select video quality. Use 1080p for high-end productions, 540p for regular use.

Allowed values:


seedint ( default: 1 )

Seed for randomness. Choose any number to reproduce the effect.

min : 1,

max : 999999


motion_modeenum:str *

Motion type for animation. Select 'fast' for rapid changes, 'normal' for smooth flow.

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 4.5 Transition

# Guide to Using PixVerse 4.5 Effectively

PixVerse 4.5 transforms still images into dynamic videos with seamless transitions and customizable motion. Follow this guide to choose the right parameters for your creative goals.

## 1. Preparing Your Inputs
- **First Frame URL**: High-resolution, well-lit image to start the animation.  
- **Last Frame URL**: Match composition and lighting to ensure a natural morph.  
- **Prompt**: A concise text description that captures your desired theme (e.g., “a dramatic sunset over the ocean, rich color gradient”).

## 2. Choosing Duration
- **5 seconds**: Ideal for quick social media clips, ads, or GIF-style loops.  
- **8 seconds**: Best for detailed storytelling, character metamorphosis, or product demos where nuance matters.

## 3. Adjusting Motion Mode
- **normal**: Smooth, cinematic flow. Use for narrative scenes, product storytelling, and artistic transformations.  
- **fast**: Snappy transitions that grab attention. Perfect for short trailers, ads, and attention-grabbing posts.

## 4. Selecting Resolution (Quality)
| Quality | Use Case                                  |
|---------|-------------------------------------------|
| 360p    | Thumbnails, low-bandwidth previews        |
| 540p    | Standard social media, blog embeds        |
| 720p    | YouTube shorts, mid-range presentations   |
| 1080p   | High-end productions, marketing campaigns |

## 5. Leveraging Seed for Consistency
- **Seed**: An optional integer (1–999999) to reproduce exact results. Lock in a seed once you find a look you love.

## 6. Crafting Effective Prompts
1. **Keep it focused**: “Ethereal forest dawn with soft light rays.”  
2. **Specify mood or style**: “Vintage film effect, warm tones.”  
3. **Highlight key elements**: “Character aging from child to adult with subtle smile.”

## 7. Use-Case Parameter Presets

1. Social Media Teaser  
   - Duration: 5s  
   - Motion Mode: fast  
   - Quality: 540p  
   - Prompt: “Bold color splash, modern art style”

2. Cinematic Reveal  
   - Duration: 8s  
   - Motion Mode: normal  
   - Quality: 1080p  
   - Prompt: “Misty mountains at sunrise, cinematic depth”

3. Product Demo  
   - Duration: 8s  
   - Motion Mode: normal  
   - Quality: 720p  
   - Prompt: “Sleek gadget rotation, metallic sheen”

## 8. Best Practices
- Use images with similar lighting, perspective, and resolution.  
- Keep prompts under 12 words for clarity.  
- Test different seeds for subtle variation.  
- For advanced workflows, integrate via the PixVerse 4.5 API and batch process multiple transitions.

By fine-tuning these parameters, PixVerse 4.5 becomes a powerful tool for storytelling, marketing, and artistic expression. Happy animating!

Other Popular Models

Discover other models you might be interested in.

Cookie settings

We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept all", you consent to our use of cookies.