$5 free credits when you sign up Claim now
Wan 2.2 Animate now available Test it!
Video Upscaling models now available Test it!
Z-Anime image model 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": 2389350671,
    "steps": 4
}
curl -X POST \
  'https://api.deapi.ai/api/v1/client/txt2img' \
  -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": 2389350671,
    "steps": 4
}'

Related Models

Built for developers who need power without complexity.

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.