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
import requests
api_key = "YOUR_API_KEY"
url = "https://api.segmind.com/v1/recraft-v3"
# Prepare data and files
data = {}
files = {}
data['size'] = "1024x1024"
data['style'] = "any"
data['prompt'] = "a cute red panda cartoon character, holding a prize cup with one hand and a sign with another hand saying 'recraft FTW', happy and joyful"
headers = {'x-api-key': api_key}
response = requests.post(url, data=data, files=files, headers=headers)
print(response.content) # The response is the generated image
Width and height of the generated image
Allowed values:
Style of the generated image.
Allowed values:
Text prompt for image 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.
Unlock the full potential of generative AI with Segmind. Create stunning visuals and innovative designs with total creative control. Take advantage of powerful development tools to automate processes and models, elevating your creative workflow.
Gain greater control by dividing the creative process into distinct steps, refining each phase.
Customize at various stages, from initial generation to final adjustments, ensuring tailored creative outputs.
Integrate and utilize multiple models simultaneously, producing complex and polished creative results.
Deploy Pixelflows as APIs quickly, without server setup, ensuring scalability and efficiency.
Recraft V3, the latest iteration of Recraft AI, offers a significant advancement in AI-driven image generation. This state-of-the-art model is designed to produce high-quality, detailed vector graphics, catering to the needs of designers, artists, and content creators alike.
Advanced Text Integration: Seamlessly integrates text into images, ensuring both legibility and aesthetic harmony.
Anatomical Precision: Generates accurate and realistic human figures and other anatomical structures.
Aesthetic Excellence: Adheres to fundamental design principles, producing visually appealing and impactful graphics.
Extensive Customization: Offers granular control over various design elements, such as text size, position, and style.
Logo Design: Create scalable, high-quality logos for various applications.
Infographic Creation: Generate informative and visually appealing infographics.
Illustration: Produce detailed and anatomically correct illustrations.
Promotional Material: Design eye-catching flyers, posters, and social media graphics.
Story Diffusion turns your written narratives into stunning image sequences.
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
This model corresponds to the Stable Diffusion Epic Realism checkpoint for detailed images at the cost of a super detailed prompt
CodeFormer is a robust face restoration algorithm for old photos or AI-generated faces.