Pixverse Image to Video

Animate your photos effortlessly with Pixverse Image to Video AI! Upload, add motion prompts and styles.


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-image2video" # Request payload data = { "image": image_url_to_base64("https://segmind-resources.s3.amazonaws.com/input/783a73f1-bdf8-441c-982c-b7cd75d80df9-pixverse-i2v-ip.webp"), # Or use image_file_to_base64("IMAGE_PATH") "duration": 5, "prompt": "Subject dance takes the world by storm!", "negative_prompt": "No sudden movements, no fast zooms.", "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
image/jpeg
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


imageimage *

Image File


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 : 99999


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:

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.

Pixverse Image to Video

Pixverse is a cutting-edge AI-powered image-to-video model that empowers users to easily transform static images into dynamic video content. Designed for social media enthusiasts, marketers, and creatives, its key differentiator lies in its intuitive interface and the ability to add specific motion details and stylistic preferences to uploaded images, making animation accessible to everyone without complex technical skills.

Key Features of Pixverse Image to Video

  • Effortless Image Animation - Simply upload your images and Pixverse utilizes AI to animate them, bringing your still visuals to life with minimal effort.

  • Intuitive Motion Control - Add prompts to your images to precisely dictate the desired motion details, allowing for tailored and specific animations that meet your creative needs.

  • Diverse Style Preferences - Specify your preferred video style when animating images, enabling you to generate outputs that align with your artistic vision or branding.

  • Negative Prompt Refinement - Utilize negative prompts to exclude unwanted movements or artifacts during the animation process, ensuring a cleaner and more focused final video.

Use Cases

  • Social Media Content Creation - Generate engaging animated posts and stories from static images to capture audience attention and increase interaction on platforms like Instagram and TikTok.

  • E-commerce Product Showcases - Animate product photos to better highlight features and demonstrate usage, providing a more dynamic and informative visual experience for potential customers.

  • Digital Art and Design Enhancement - Bring static digital artwork or designs to life with subtle or dynamic animations, adding a new dimension to creative portfolios and presentations.

  • Educational Material Visualization - Animate diagrams, charts, or illustrations to create more engaging and easier-to-understand educational videos for students and online courses.

  • Personalized Greetings and Invitations - Animate personal photos to create unique and memorable digital greetings or invitations for events and special occasions.

Pixverse Image to Video offers a streamlined and accessible way to animate static images, transforming them into captivating video content with ease. By providing intuitive controls and high-quality output, it empowers users across various sectors to enhance their visuals and engage their audiences in new and dynamic ways.

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.