🎉 国产之光 · GLM-5.2 登顶全球榜首,首次超越 Fable 5 立即体验 →
🚀 AWS Platform · Anthropic Claude — Opus ¥20 / ¥100(¥4/U),约官方 5.5 折,按量计费 查看价格 →
New · Image2 text-to-image NEW

One prompt,
world-class imagery

Image2 · 4K wallpaper-grade detail · pay as you go from ¥0.13 / image

4K ultra-HD Commercial use Pay only for what you use

Image playground

Describe what you want — Image2 does the rest

Quality
This run ¥0.13 Log in to generate

4K ultra-HD

Wallpaper-grade resolution, crisp detail, ready for desktop & print.

Fast output

2K in seconds, 4K in about a minute — what you see is what you get.

Pay as you go

Pay only for what you use — no plan lock-in, balance always available.

Commercial use

Generated images are cleared for commercial projects.

How to prompt

Four steps to a great image — just fill in the blanks

① Subject

One line: object + action + scene. e.g. "a fluffy orange cat on a sunlit windowsill." Be specific — not just "a cat".

② Style / medium

Name the look: cinematic, studio photography, watercolor, 3D render, cyberpunk… one style word sets the whole feel.

③ Light / mood

Add lighting & emotion: golden backlight, soft morning mist, neon night, volumetric rays — light drives the "wow".

④ Quality / limits

End with quality words (ultra detailed, 8K, photorealistic); put "avoid X" last so it is not read as the subject.

Sample prompt (4K wallpaper)

Breathtaking 4K desktop wallpaper: a Norwegian fjord at golden sunrise, snow-capped mountains, a mirror lake, a wooden cabin, foreground wildflower meadow, warm volumetric sun rays, ultra detailed, cinematic, photorealistic, 8k quality

Tip: open any gallery image below and hit "Copy prompt" to reuse it.

API access

Standard REST endpoint, pay-as-you-go. Try it in the playground above first.

Endpoint
POST https://api.llmapi.pro/v1/images/generations
Authorization
Authorization: Bearer <metered API key>
This endpoint requires a metered (pay-as-you-go) API key — subscription plan keys cannot call it. Get a metered key →
Models
image2 2K · ¥0.08 / image
image2-4k 4K · ¥0.13 / image
cURL
curl https://api.llmapi.pro/v1/images/generations \
  -H "Authorization: Bearer $LLMAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "image2-4k",
    "prompt": "a snow mountain lake at dusk, warm backlight, cinematic",
    "n": 1
  }'
JavaScript (fetch)
const res = await fetch("https://api.llmapi.pro/v1/images/generations", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.LLMAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "image2-4k",   // 4K · ¥0.13 · image2=2K · 返回 b64_json
    prompt: "a snow mountain lake at dusk, cinematic",
    n: 1,
  }),
});
const data = await res.json();
// 图片以 base64 (b64_json) 内联返回(无外链)
const b64 = data.data[0].b64_json;
const buf = Buffer.from(b64, "base64");   // -> 保存为 .png

Pay-as-you-go. Body fields: model, prompt, n; both image2 and image2-4k models are available.
Pick resolution by model name: image2=2K, image2-4k=4K; images return inline as b64_json.

FAQ

How much per image?

2K is ¥0.08/image and 4K is ¥0.13/image. Pay-as-you-go, only for what you use.

How long does 4K take?

2K usually takes seconds; 4K about a minute. Progress shows while generating.

Can I use images commercially?

Yes — images from Image2 can be used in commercial projects.

How do I top up?

Log in and top up on the API billing page to fund image generation.

Start generating now

One prompt, a 4K image in about a minute.