🤖🧗Text-to-Image API
Fast text-to-image generation model capable of producing high-quality images
Last updated
Fast text-to-image generation model capable of producing high-quality images
Last updated
Developer Portal : https://api.market/store/bridgeml/text-to-image
Introducing the MagicAPI Text-to-Image API, the ultimate solution for generating high-quality images from text prompts using advanced AI technology. This cutting-edge API is designed to deliver stunning visuals at lightning speed, making it the most affordable text-to-image API on the market today. Whether you're a developer, designer, or content creator, our API provides the perfect blend of performance and cost-efficiency.
AI-Powered Generation: Leverage state-of-the-art AI to create ultra-high-definition images from text prompts.
Unmatched Speed: Generate images in seconds, ensuring your projects stay on track.
High-Quality Output: Create images that are perfect for production use, thanks to our specialized AI model.
Cost-Effective: Get the best value for your money with our competitively priced service.
Easy Integration: Simple API requests allow for seamless integration into your applications and workflows.
Customizable Settings: Tailor image generation to your needs with adjustable parameters.
Getting started with the MagicAPI Text-to-Image API is easy. Our comprehensive documentation provides all the details you need to integrate quickly. Additionally, our support team is always available to help with any questions or issues you may encounter.
API Endpoints
POST /text-to-image
: A fast text-to-image model that makes high-quality images in 4 steps
Input Schema
When using the API, the following fields are expected in the request body:
prompt
(string, required, default: "an epic forest with mountain on the back and a great palatial big house"): The input text prompt for the image generation.
width
(integer, required, default: 512): The width of the output image. Recommended values are 1024 or 1280.
height
(integer, required, default: 512): The height of the output image. Recommended values are 1024 or 1280.
scheduler
(string, optional, default: "K_EULER"): The scheduler type for the model. Available options include DDIM, DPMSolverMultistep, HeunDiscrete, KarrasDPM, K_EULER_ANCESTRAL, K_EULER, PNDM, and DPM++2MSDE.
num_outputs
(integer, optional, default: 1): The number of images to output. Values range from 1 to 4.
guidance_scale
(number, optional, default: 0): The scale for classifier-free guidance. Recommended values are between 7 and 8.
negative_prompt
(string, optional, default: "worst quality, low quality"): A negative prompt to guide the image generation away from certain concepts.
num_inference_steps
(integer, optional, default: 4): The number of denoising steps. The value 4 provides the best results.
Generating images with the MagicAPI Text-to-Image API is straightforward. Here’s a step-by-step example of how to use our API:
Step 1: Generate an Image
Response:
Sample images
Developer Portal : https://api.market/store/bridgeml/text-to-image