Developers

Generative imaging, in three lines of code.

A fast, predictable REST API with first-class SDKs, webhooks and streaming. Built by engineers, for engineers.

curl https://api.donkm.tech/v1/images   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{
    "prompt": "a futuristic city at golden hour, cinematic",
    "size": "1024x1024",
    "style": "photoreal"
  }'

SDKs

Use your favorite language.

JavaScript / TypeScript

npm install @donkmtech/sdk

Python

pip install donkmtech

Go

go get github.com/donkmtech/go

Endpoints

A small, focused API.

POST/v1/imagesGenerate an image from a text prompt.
POST/v1/editsInpaint, outpaint or modify an existing image.
POST/v1/variationsGenerate variations of a source image.
GET/v1/jobs/:idPoll status of a long-running batch job.
POST/v1/finetunesTrain a brand fine-tune adapter.

Ship faster with Donkm.Tech.

Book a technical call to discuss access and your integration requirements.

Book a technical call