$5 free credits when you sign up Claim now
Whisper Large V3 CT2 now available Test it!
MiniMax H3 now available! Test it!
GPT1.5 and GPT2.0 available now for Premium users Test it!
  • Free tier available
  • No credit card required

Generate Images from Text

Test AI image generation for free, then deploy via API.

Text-to-Image FLUX.2 Klein 4B BF16

Estimated cost: calculating… $0.00262/image

2 free images left

Sample text-to-image output
Sample (enlarged)
{
    "model": "Flux_2_Klein_4B_BF16",
    "prompt": "A cinematic, hyper-realistic eye-level shot through a rainy coffee shop window at night. Condensation on the glass is partially wiped away to reveal the handwritten text 'KLEIN 4B' clearly written in the moisture. Through the clear glass, a warm, cozy interior is visible with soft bokeh lights. Outside, reflections of blue and pink neon city lights dance on the wet glass droplets. Incredible texture detail on the water drops and glass surface. 8k resolution, shot on 35mm lens, f/1.4, street photography style.",
    "width": 1024,
    "height": 576,
    "seed": 2298178527,
    "steps": 4
}
curl -X POST \
  'https://api.deapi.ai/api/v2/images/generations' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {{ YOUR_API_TOKEN }}' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "Flux_2_Klein_4B_BF16",
    "prompt": "A cinematic, hyper-realistic eye-level shot through a rainy coffee shop window at night. Condensation on the glass is partially wiped away to reveal the handwritten text '"'"'KLEIN 4B'"'"' clearly written in the moisture. Through the clear glass, a warm, cozy interior is visible with soft bokeh lights. Outside, reflections of blue and pink neon city lights dance on the wet glass droplets. Incredible texture detail on the water drops and glass surface. 8k resolution, shot on 35mm lens, f/1.4, street photography style.",
    "width": 1024,
    "height": 576,
    "seed": 2298178527,
    "steps": 4
}'

Related Models

Built for developers who need power without complexity.

GPT Image 2

· Experimental · Partner model · Premium · Generate from a description, with a reasoning pass ahead of generation. The gain is clearest on prompts with several interacting constraints — a layout with specified positions, a scene with a set number of objects, or a design that has to carry a specific line of text. Output runs from 512px up to 2048px.

$0.001/img

GPT Image 1.5

Experimental · Partner model · Premium Generate from a plain-language description. GPT Image 1.5 follows long, compound instructions closely and renders legible text inside the image — useful for mockups, ad creative and anything carrying a label, sign or headline in frame.

$0.001/img

Z-Anime

INT8 quantized. Resolution 128–2048 px (16 px steps). 4–16 inference steps. Default: 768x768, 8 steps. Tuned with Z-Image Base for anime-style images. Recognizes several iconic characters from well-known anime.

$0.001/img

Z-Image-Turbo INT8

INT8 quantized. 128–2048px resolution (16px steps). 1–50 inference steps. Default: 768×768, 8 steps. Fastest option for production.

$0.001/img

FLUX.1 schnell

256–2048px resolution (128px steps). 1–10 inference steps. Default: 768×768, 4 steps. No guidance needed. Optimized for speed.

$0.001/img
  • Free tier available
  • No credit card required

Get More AI Power
Pay Less

Join developers & vibe coders building AI apps with deAPI. No credit card, zero setup headaches — just pure, instant AI magic.

Need enterprise pricing or SLA? Talk to Sales

Confirm Generation

Estimated cost 0.000000

This amount will be deducted from your account balance.

Enhance Prompt

Cost 0.000000

Confirm to apply the enhanced prompt and deduct the listed credits from your balance.

You've reached your free daily limit

Your counter resets at 00:00 UTC.

Want to keep going? Register now and get $5 in free credits to start.