Pixverse 4.5 Video

Pixverse 4.5 transforms static images and text into dynamic, engaging videos for captivating social media content.


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-video" # Request payload data = { "duration": 5, "prompt": "An elongated, serpentine infinity pool hugs the edge of a dense forest. The vivid turquoise water shimmers under the sun, and waterfalls plunge down into the depths below. The surrounding wooden deck with loungers adds a touch of luxury to this surreal, natural - yet - manmade wonder.", "negative_prompt": "No sudden movements, no fast zooms.", "quality": "540p", "seed": 56698, "motion_mode": "normal", "aspect_ratio": "16:9" } 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


image_urlstr ( default: 1 )

Provide the URL of the image to be relit. Use a URL from cloud storage like S3.


durationenum:int *

Video duration in seconds (5 or 8; only 5 is allowed for fast mode or 1080p quality)

Allowed values:


promptstr *

Prompt describing the animation


negative_promptstr ( default: No sudden movements, no fast zooms. )

Negative prompt (unwanted effects)


qualityenum:str *

Video quality (360p, 540p, 720p, 1080p)

Allowed values:


seedint ( default: 1 )

Seed for random generation

min : 1,

max : 999999


styleenum:str ( default: 1 )

Style (only for model=v3.5): anime, 3d_animation, clay, comic, cyberpunk

Allowed values:


motion_modeenum:str *

Motion mode (normal, fast, --fast only available when duration=5; --quality=1080p does not support fast)

Allowed values:


aspect_ratioenum:str ( default: 16:9 )

Aspect ratio options: 16:9, 4:3, 1:1, 3:4, and 9:16. If a reference image is provided, its aspect ratio will be used instead, and the specified aspect_ratio will be ignored.

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 Video

markdown # Pixverse 4.5 Video: An Effective Usage Guide Pixverse 4.5 empowers creators to turn stills and text prompts into eye-catching videos optimized for social media, marketing and digital art. Follow this guide to harness its full potential and pick the right parameters for your project. ## 1. Getting Started 1. **Image URL** – Provide a high-resolution image (e.g., 1080×1080+) hosted on S3 or any public CDN link. 2. **Prompt** – Craft a detailed, vivid description. - Good: “A bustling cyberpunk street at dusk, neon signs flicker, holograms drift overhead.” - Avoid vagueness; richer keywords → richer animations. 3. **Negative Prompt** (optional) – Specify what to exclude: “No harsh zooms or strobe effects.” 4. **Duration** – Select either **5** or **8** seconds based on pacing needs. 5. **Quality** (advanced) – - 360p: fast demos, low bandwidth - 540p: balanced speed & clarity - 720p: crisp social posts - 1080p: HD showcases 6. **Motion Mode** – - `normal` for smooth, natural movement - `fast` for punchy, quick-review content 7. **Style** (advanced) – Choose an art filter: `anime`, `3d_animation`, `clay`, `comic`, `cyberpunk`. 8. **Seed** (advanced) – Lock a number (1–999999) for deterministic results; leave blank for variability. ## 2. Recommended Setups by Use Case ### A. Quick Social Teasers - Duration: **5 s** - Quality: 360p–540p - Motion Mode: `fast` - Style: leave blank or pick `comic` for bold impact - Seed: random (omit or vary) - Prompt: concise (“A vibrant product pop-up with quick glow pulses.”) ### B. Product Showcases / Demos - Duration: **8 s** - Quality: 720p–1080p - Motion Mode: `normal` - Style: none or `3d_animation` for sleek visuals - Negative Prompt: “No abrupt cuts.” - Seed: fixed (e.g., 123456) for consistency ### C. Cinematic Storytelling - Duration: **8 s** - Quality: 1080p - Motion Mode: `normal` - Style: `cyberpunk` or `clay` for thematic depth - Seed: fixed - Prompt: layered scene descriptions, character actions, emotions ### D. Fantasy & Art Exploration - Duration: 5–8 s - Quality: 540p–720p - Motion Mode: `fast` or `normal` - Style: `anime` or `comic` - Seed: vary between runs for creative randomness ## 3. Pro Tips & Advanced Tricks - **Image + Text Fusion**: Upload a stylized concept art plus a matching prompt for fine-tuned results. - **Effect Stacking**: Layer emotional gestural prompts (“gentle smile, wistful gaze”) on top of physical transformations (“blooming petals, swirling mist”). - **Video Extension**: Feed a previously generated clip back into Pixverse to seamlessly extend scenes without re-shooting. By experimenting with these parameters and use-case setups, you’ll create polished, attention-grabbing videos that stand out on any platform. 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.