DEV Community

kk mors
kk mors

Posted on

Jimeng AI Free API — Access ByteDance's Image Generation for Free

ByteDance's Jimeng (即梦) AI generates stunning images, but there's no official free API. I reverse-engineered the web interface to create a free API wrapper.

What is Jimeng AI?

Jimeng is ByteDance's (TikTok's parent company) AI image generation model. It produces high-quality images with:

  • Excellent Chinese text rendering in images
  • Strong artistic style control
  • Fast generation times
  • Multiple model options

The Free API

I built a wrapper that lets you call Jimeng through a simple REST API:

import requests

# Generate an image
response = requests.post("http://localhost:8080/generate", json={
    "prompt": "A cyberpunk city at sunset, neon lights reflecting on wet streets",
    "width": 1024,
    "height": 1024,
    "style": "vivid"
})

image_url = response.json()["url"]
Enter fullscreen mode Exit fullscreen mode

Features

  • REST API interface — Simple HTTP calls
  • Multiple models — Access different Jimeng model variants
  • Batch generation — Generate multiple images at once
  • Style presets — Photorealistic, anime, oil painting, etc.
  • No API key needed — Uses free web access

Limitations

  • Rate limited to ~20 images per hour
  • Requires a valid Jimeng web session (cookie)
  • Not for commercial use (check ByteDance's terms)

Get the Jimeng AI Free API setup guide and code.

Has anyone else worked with Jimeng or other Chinese AI image generators?

Top comments (0)