Media & agents

Image generation

A prompt → a production-ready image. Marketing visuals, product scenes, and consistent brand imagery.

POST /v1/image$0.10/image · 10 credits, charged only on success

Send this

{
  "prompt": "A minimal hero image of a bamboo standing desk in warm morning light",
  "style": "editorial photography",
  "aspectRatio": "16:9"
}

Every response carries usage — the credits burned and your remaining balance. A failed call never burns credits.

Try it live against your own key in the interactive reference; every account gets 500 free credits a month, no card.

Get this back

{
  "image": "<base64…>",
  "mimeType": "image/png",
  "revisedPrompt": null,
  "usage": {
    "credits": 10,
    "balanceRemaining": 205
  }
}

Four ways in. Same $0.10/image.

curl
curl https://api.kynth.studio/v1/image \
  -H "Authorization: Bearer ksk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A minimal hero image of a bamboo standing desk in warm morning light","style":"editorial photography","aspectRatio":"16:9"}'
TypeScript
import { KynthCore } from "@kynth/api";

const kynth = new KynthCore({ apiKey: process.env.KYNTH_API_KEY! });
const result = await kynth.image({
  "prompt": "A minimal hero image of a bamboo standing desk in warm morning light",
  "style": "editorial photography",
  "aspectRatio": "16:9"
});
Python
from kynth import Kynth

client = Kynth(api_key=os.environ["KYNTH_API_KEY"])
result = client.image(
    prompt="A minimal hero image of a bamboo standing desk in warm morning light",
    style="editorial photography",
    aspectRatio="16:9",
)
MCP
// One-time setup in your MCP client (Claude, Cursor, …):
{ "mcpServers": { "kynth-core": {
    "command": "npx", "args": ["@kynth/api-mcp"],
    "env": { "KYNTH_API_KEY": "ksk_live_…" } } } }

// Then the agent just calls the kynth_image tool.

More from media & agents