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
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')
api_key = "YOUR_API_KEY"
url = "https://api.segmind.com/v1/warmth-of-jesus"
# Request payload
data = {
"image": image_url_to_base64("https://segmind-resources.s3.amazonaws.com/input/a30b306b-6683-49ae-82c0-a1f18242660c-turbo-i2i-ip.jpg"), # Or use image_file_to_base64("IMAGE_PATH")
"duration": 5,
"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
Attributes
Image File
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:
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 Warmth of Jesus
Warmth of Jesus is a unique and viral image-to-video effect within PixVerse that allows users to generate touching videos depicting Jesus hugging people. This effect caters to individuals seeking to create emotionally resonant and spiritually themed content for sharing and personal reflection. Its key differentiator lies in its specific and heartwarming theme, tapping into a powerful emotional and potentially religious sentiment.
Key Features of Pixverse Warmth of Jesus
-
Heartwarming Video Generation - Transform static images into dynamic videos showcasing a comforting embrace from Jesus, creating emotionally impactful content.
-
Viral Trend Integration - Leverage the popularity of the "Warmth of Jesus" effect, which has already gained traction, to create timely and shareable videos.
-
Simple Image-to-Video Transformation - Easily upload your chosen image and apply the effect to instantly generate a video with the desired heartwarming scene.
-
Emotional Resonance - Tap into deep emotional connections and spiritual sentiments with videos that evoke feelings of comfort, love, and faith.
-
Effortless Sharing - Create readily shareable video content suitable for various social media platforms and personal messaging to spread positivity and warmth.
Other Popular Models
sdxl-img2img
SDXL Img2Img is used for text-guided image-to-image translation. This model uses the weights from Stable Diffusion to generate new images from an input image using StableDiffusionImg2ImgPipeline from diffusers

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

sdxl-inpaint
This model is capable of generating photo-realistic images given any text input, with the extra capability of inpainting the pictures by using a mask
