Fast image transforms with presets, async webhooks, and credit-based pricing. Start in 60 seconds.
curl -X POST https://api.jork.lol/v1/images/generations \ -H "Authorization: Bearer jork_sk_live_..." \ -H "Content-Type: application/json" \ -d '{ "prompt": "studio portrait, soft lighting", "image_url": "https://example.com/input.jpg", "preset": "portrait" }'
Production-tested infrastructure with the primitives developers actually want.
Sub-10s typical latency. Multiple upstream providers with automatic failover.
Submit a job, get pinged when done. HMAC-signed webhooks with retry.
Credits never expire. From 0.7¢/image on volume tiers. No subscriptions.
Sign in to the dashboard and provision an API key in one click.
Send a prompt and an input image to the generations endpoint.
Receive the result URL synchronously, or via webhook when async.
Paste this into Claude Code, Codex, Cursor, or any AI coding assistant. Plug in your key — they'll wire up the rest.
Integrate the Jork Image Generation API into my project.
Base URL: https://api.jork.lol/v1
Auth: Authorization: Bearer <PASTE_YOUR_KEY_HERE>
Endpoints:
- POST /images/generations
body: { prompt, image_url? OR image_b64?, preset?, resolution: "1K"|"2K", callback_url?, metadata? }
sync (no callback_url): 200 -> { id, status:"succeeded", image_url, credits_used, credits_remaining }
async (with callback_url): 202 -> { id, status:"queued" } - webhook fires on completion
- GET /jobs/{id} -> { id, status, image_url?, error?, credits_used, metadata }
- GET /presets -> { presets: [{ id, label, mode }] }
- GET /account -> { user_id, credits, lifetime_spend_cents, tier }
Webhook verification (when callback_url is set):
Header: Jork-Signature: t=<unix_ts>,v1=<hex>
v1 = HMAC_SHA256(webhook_secret, f"{ts}.{raw_body_string}").hexdigest()
Error response shape (all routes):
{ detail: { error: "<slug>", message: "<human>" } }
Slugs: missing_auth, insufficient_credits, unsafe_prompt, rate_limited, not_found, gen_timeout
Build a typed client wrapper for these endpoints. Add retries on 429/503 with exponential backoff. Integrate it where image generation is needed in my project.
Pay for what you use. Credits never expire.
+25% bonus on crypto top-ups. 1 image = 1 credit.