POST
javascript
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 const axios = require('axios'); const fs = require('fs'); const path = require('path'); async function toB64(imgPath) { const data = fs.readFileSync(path.resolve(imgPath)); return Buffer.from(data).toString('base64'); } const api_key = "YOUR API-KEY"; const url = "https://api.segmind.com/v1/warmth-of-jesus"; const data = { "image": "toB64('https://segmind-resources.s3.amazonaws.com/input/a30b306b-6683-49ae-82c0-a1f18242660c-turbo-i2i-ip.jpg')", "duration": 5, "quality": "540p", "seed": 56698, "motion_mode": "normal" }; (async function() { try { const response = await axios.post(url, data, { headers: { 'x-api-key': api_key } }); console.log(response.data); } catch (error) { console.error('Error:', error.response.data); } })();
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:


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:

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.