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 30 31 32 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/consistent-character-AI-neolemon-v3"; const data = { "prompt": "young man,beard, light skin, round face, large brown eyes and wavy brown hair, wearing a white t-shirt, red plaid shirt, blue jeans, and brown boots", "input_image": "toB64('null')", "ip_image": "toB64(' https://segmind-sd-models.s3.amazonaws.com/display_images/def_ip_image.png')", "steps": 10, "guidance_scale": 3, "width": 1024, "height": 1024, "seed": 4898558797 }; (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


promptstr *

Text prompt for image generation


negative_promptstr ( default: 1 )

Negative prompt to avoid certain elements


input_imageimage ( default: 1 )

Input Pose reference image


ip_imageimage *

Input Character reference image


stepsint ( default: 10 ) Affects Pricing

Number of denoising steps.

min : 1,

max : 70


guidance_scalefloat ( default: 3 )

Scale for classifier-free guidance

min : 1,

max : 15


widthint ( default: 1024 ) Affects Pricing

Width of the output image


heightint ( default: 1024 ) Affects Pricing

Height of the output image


seedint ( default: 4898558797 )

Seed for random number generation

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.

Introducing our innovative AI-powered workflow that allows you to create detailed character sheets with just a text prompt. Gone are the days of manually sketching and refining character designs. With our AI solution, you can instantly generate character sheets that include multiple poses, making it easier than ever to visualize and develop your characters for storyboarding, animation, and other creative projects.

Our AI workflow is designed to streamline the character creation process, providing artists, writers, and designers with a powerful tool to bring their visions to life. By simply inputting a text description, you can produce a fully realized character sheet, complete with various poses that showcase different aspects of the character's personality and movement. This not only saves time but also ensures consistency across different stages of production.

Whether you're working on an animated film, a comic book, or a video game, our AI-generated character sheets offer a versatile solution that can adapt to your creative needs. The ability to quickly generate multiple poses allows for a more dynamic approach to storytelling and animation, helping you to craft compelling narratives with well-developed characters. Embrace the future of character design with our cutting-edge AI workflow and elevate your creative projects to the next level.

Simply describe your character with text prompts and receive character sheets instantly.

  • Describe your character

  • Upload a reference pose photo

  • Generate your character in that exact pose or series of poses

Experience the power of an AI-driven consistent character designer for seamless and efficient creation.