🎉 New Year Sale: Get 20% OFF on all plans — Use code NEWYEAR2026.

Upgrade now
RealTime Text to Image thumbnail

ModelsLab/RealTime Text To Image

realtime-text-to-image
RealTime Text to ImageFree for Premium UsersLLMs.txt
Generate high-quality images in just 2–4 seconds. From realistic and 3D art to fantasy our realtime model brings your ideas to life instantly.
API PlaygroundAPI Documentation

API Endpoint URL

Base URL for all API requests to this endpoint.

https://modelslab.com/api/v6/realtime/text2img

API Authentication

Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.

Integration Examples

Production-ready code samples for API integration

{
"prompt": "safe_pos, 1girl, sfw, gorgeous, freckles, shiny wet skin, detailed skin, detailed face, fierce:2, angry, intense glare, arched back:2, dynamic pose:2, perfect eyes, eye contact, black pupils:1.5, piercing gaze, glowing eyes, enormous valkyrie wings:2, flaming halo, decorative mystic armor, huge wings:2, action pose, slight cleavage:0.2, slight skin:0.5, armored skirt:2, billowing skirt, skirt, flowing cape, intricate armor, shiny armor, perfect hands:2, perfect fingers, eyeliner, relaxed hands, covered breasts, thigh highs, leggings, armored boots, armored thighs, exposed neck, exposed collar bones:1.5, exposed lower thigh, showing slight leg ",
"samples": "4",
"width": "1024",
"height": "1024",
"negative_prompt": "easynegative, bad proportions, low resolution, bad, ugly, terrible, painting, 3d, render, comic, anime, manga, unrealistic, flat, watermark, signature, worst quality, low quality, normal quality, lowres, simple background, inaccurate limb, extra fingers, fewer fingers, missing fingers, extra arms, (extra legs:1.3), inaccurate eyes, bad composition, bad anatomy, error, extra digit, fewer digits, cropped, low res, worst quality, low quality, normal quality, jpeg artifacts, extra digit, fewer digits, trademark, watermark, artist's name, username, signature, text, words, ",
"base64": "false",
"track_id": null,
"webhook": null,
"seed": "0",
"key": "YOUR_API_KEY"
}

SDKs

Official SDKs

Production-ready SDKs and client libraries for all major programming languages

API Parameters

Technical specifications for API request parameters.

Field NameParameterTechnical Description
PromptpromptEnter the prompt to generate an image
SamplessamplesNumber of images to generate (1-4)
WidthwidthWidth of the generated image
HeightheightHeight of the generated image
Negative Promptnegative_promptThings you do not want in the generated image
base64base64Get response as base64 string, default: false, options: true or false
track_idtrack_idThis ID is returned in the response to the webhook API call and is used to identify the webhook request.
webhookwebhookURL to get a POST API call once the image generation is complete.
seedseedSeed for reproducible results