mynth

mynth

The image generation API built by developers, for developers. One payload. Any model. No glue code.

Open Alpha - $1 free credit on signup

Building with Mynth and open to sharing feedback? Join us on Discord and we can add more testing credits for active testers.

The problem

Every image generation provider has its own API shape, its own parameter names, its own quirks. Want to switch models or let users pick? That means maintaining separate integrations, handling different error formats, and writing adapter code that has nothing to do with your product.

Mynth gives you a single, consistent API that works across models — same payload, same response, every time. Send what you have, and Mynth handles the rest. Even if a model doesn't natively support a parameter, Mynth adapts it automatically.

Built for real work

Every feature exists because we needed it ourselves. No bloat, just tools that make image generation in production painless.

01

Unified API

One payload for every model. Switch providers without changing a single line of integration code. If a model doesn't support a parameter, Mynth handles it for you.

02

Magic Prompts

RAG-powered prompt enhancement that rewrites your prompts using best practices from curated examples. Works especially well with tag-based models like Illustrious.

03

Public Access Tokens

Generate scoped, single-use tokens your frontend can use to poll task status directly — no background workers, no extra endpoints, less infrastructure cost.

04

Fully-Typed SDK

TypeScript SDK with full type safety, including model IDs, parameters, and response types. Autocomplete that actually helps you build.

05

Content Rating

Built-in content safety rating with customizable levels. Automatically classify generations so you can enforce your app's content policy.

06

Auto Size Selection

Let Mynth pick the optimal image dimensions based on your prompt. One less decision to make, better results by default.

07

Webhooks

Get notified when generations complete. No polling from your backend needed — just register a URL and Mynth will call you.

08

Async & Sync Modes

Choose synchronous generation for quick results or async mode with webhooks and polling for production workloads.

Ship in minutes

Install the SDK, create a client, generate. That's it.

import Mynth from "@mynthio/sdk"; const mynth = new Mynth(); const task = await mynth.generate({prompt: "a fox in a cyberpunk city",// That's it. Model, size, prompt enhancement// are all handled automatically by Mynth.});

Magic Prompts

Write simple prompts. Get stunning results.

Mynth uses RAG and LLMs to rewrite your prompts based on curated examples of high-quality generations. Especially powerful for tag-based models like Illustrious, where prompt engineering matters most.

You write

epic wallpaper, dark and muted green colors

Mynth generates with

(masterpiece, best quality, absurdres:1.2), epic wallpaper, majestic landscape, vast ancient forest, (dark and muted green color palette:1.4), atmospheric depth, towering moss-covered trees, swirling mists, ethereal glow, distant ruins, overgrown vegetation, cinematic lighting, volumetric fog, dramatic shadows, intricate details, hyper-detailed, 8k uhd, matte painting, fantasy art, raytracing, ambient occlusion.

Mynth magic prompt showcase

Content Safety API

Rate any image.
Define your own scale.

POST /image/rate accepts up to 10 image URLs and returns a content rating for each one. Results come back in the same response.

Use the built-in sfw / nsfw scale or define 2–7 custom levels with descriptions that map exactly to your app's content policy. Works with any publicly accessible image URL.

  • Batch up to 10 images per request
  • Custom rating scales with natural-language descriptions
  • Per-image error handling — one failure doesn't block the rest
  • Rate images from any source, not just Mynth generations

Pricing

$0.0002/ image rated

5,000 images per $1 — flat rate, no minimum

POST/image/rate

Custom scale — 2 to 7 levels

GSuitable for all audiences
PGMild content, general audiences
PG-13Mature themes, not for children
RRestricted, adult themes
XExplicit adult content

Response

// results[]
hero-banner.webpg
action-scene.webppg13
product-photo.webpg

Open Alpha

Try Mynth today

Sign up and get $1 in free credits to test the API. No credit card required.

Alpha Notes

  • This is an early alpha. Things may break at any time.
  • Purchasing additional credits is not yet available. If you are open to testing and sharing feedback, contact us on Discord and we can add more credits.
  • All data will be removed at the end of the alpha period and may be cleared during testing.
  • Save generations to your own CDN — do not rely on Mynth storage for persistence.