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
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/consistent-character-AI-neolemon-v3"
# Request payload
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",
"ip_image": image_url_to_base64(" https://segmind-sd-models.s3.amazonaws.com/display_images/def_ip_image.png"), # Or use image_file_to_base64("IMAGE_PATH")
"steps": 10,
"guidance_scale": 3,
"width": 1024,
"height": 1024,
"seed": 4898558797
}
headers = {'x-api-key': api_key}
response = requests.post(url, json=data, headers=headers)
print(response.content) # The response is the generated image
Text prompt for image generation
Negative prompt to avoid certain elements
Input Pose reference image
Input Character reference image
Number of denoising steps.
min : 1,
max : 70
Scale for classifier-free guidance
min : 1,
max : 15
Width of the output image
Height of the output image
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.