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
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-effects"
# Request payload
data = {
"image_url": "https://segmind-resources.s3.amazonaws.com/output/4e932411-b5b5-4d39-a956-79329951cc68-model_4.png",
"duration": 5,
"quality": "540p",
"seed": 56698
}
headers = {'x-api-key': api_key}
response = requests.post(url, json=data, headers=headers)
print(response.content) # The response is the generated image
Attributes
Provide the URL of the image to be relit. Use a URL from cloud storage like S3.
Video duration in seconds (5 or 8; only 5 is allowed for fast mode or 1080p quality)
Allowed values:
Video quality (360p, 540p, 720p, 1080p)
Allowed values:
Seed for random generation
min : 1,
max : 999999
Style (only for model=v3.5): anime, 3d_animation, clay, comic, cyberpunk
Allowed values:
Template for effects
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.
Maximizing PixVerse 4.5: AI Video Generation for Diverse Audiences
PixVerse 4.5 is an advanced AI video generator designed to transform photos and text into dynamic, animated videos with ease. Its capabilities are especially beneficial to developers, creators, and executives aiming to craft standout content in today's digital age.
For developers, PixVerse 4.5 offers a rich API and SDK support, enabling the integration of powerful video generation into various applications. By utilizing high-quality input photos and detailed text prompts, developers can leverage its advanced generative AI techniques to produce visually engaging videos tailored to user needs. The model's flexibility in supporting multiple input modalities streamlines creative workflows, allowing for seamless integration.
Creators will find PixVerse 4.5's suite of special effects, such as AI Kiss and AI Muscle, a boon for producing content that resonates with social media trends. Its dramatic lighting, cinematic filters, and audio integration features, including the exceptional lip-sync functionality, allow for the creation of lifelike, expressive characters. By exploring styles like comic and baroque, creators can execute genre-specific storytelling with unique flair.
Executives can harness PixVerse 4.5’s features to amplify marketing efforts, creating high-impact promotional content that stands out across platforms like TikTok and Instagram. The model enhances storytelling with realistic emotions, enriching narrative-driven content. Additionally, syncing audio with visuals ensures that messages are conveyed clearly and engagingly.
Overall, PixVerse 4.5 provides an innovative yet practical solution for video content creation, allowing users to achieve maximum impact with minimal manual intervention.
Other Popular Models
illusion-diffusion-hq
Monster Labs QrCode ControlNet on top of SD Realistic Vision v5.1

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

sdxl1.0-txt2img
The SDXL model is the official upgrade to the v1.5 model. The model is released as open-source software

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
