# Mynth - Documentation | mynth.io ## Docs - [Mynth Documentation](https://docs.mynth.io/index.md): Build image generation workflows with the Mynth API, SDK, webhooks, and browser-safe task polling. - [Quickstart](https://docs.mynth.io/quickstart.md): Generate your first image with Mynth and understand the result you get back. - [Beta](https://docs.mynth.io/beta.md): Mynth is now in beta — here's what that means for the API, magic prompt, and using Mynth in production. - [Generate Images](https://docs.mynth.io/guides/generate-images.md): Create image generation tasks with the SDK or POST /image/generate. - [Async and Polling](https://docs.mynth.io/guides/async-and-polling.md): Wait for task completion with the SDK, or poll status and result endpoints yourself. - [Batch Generate Images](https://docs.mynth.io/guides/batch-generation.md): Generate multiple images with count, or run independent tasks in parallel across prompts and models. - [Upload Input Images](https://docs.mynth.io/guides/upload-input-images.md): Upload local images to Mynth, or pass public URLs, as inputs for image-to-image generation. - [Browser Polling](https://docs.mynth.io/tutorials/browser-polling.md): Start image generation on your server and poll task status and results safely from the browser. - [Control Prompts](https://docs.mynth.io/guides/control-prompts.md): Set prompt, negative_prompt, and magic_prompt on image generation requests. - [Control Size](https://docs.mynth.io/guides/control-size.md): Set presets, aspect ratios, 4K scale, or auto size on image generation requests. - [Use Content Rating](https://docs.mynth.io/guides/use-content-rating.md): Classify generated images with default sfw/nsfw or custom levels during image generation. - [Use Metadata](https://docs.mynth.io/guides/use-metadata.md): Attach your own JSON context to image generation tasks and read it back from results and webhooks. - [Use Destinations](https://docs.mynth.io/guides/use-destinations.md): Deliver generated images to your own storage (S3, Cloudflare R2, or Bunny Storage). - [Use Webhooks](https://docs.mynth.io/guides/use-webhooks.md): Receive task lifecycle events on your backend with dashboard-managed or request-level webhooks. - [Rate Image Content](https://docs.mynth.io/guides/rate-images.md): Classify an existing image by URL with POST /image/rate or mynth.image.rate() using default sfw/nsfw or custom levels. - [Generate Image Alt Text](https://docs.mynth.io/guides/generate-alt-text.md): Generate short alt text for an existing image with POST /image/alt or the SDK. - [Convex full-stack image generation](https://docs.mynth.io/guides/convex-full-stack-image-generation.md): Build Mynth image generation with Convex actions, signed webhooks, and reactive UI updates. - [JS/TS SDK Overview](https://docs.mynth.io/sdk/js-ts/overview.md): Understand what the official Mynth SDK provides and when to use it. - [Client Configuration](https://docs.mynth.io/sdk/js-ts/client.md): Configure the Mynth JavaScript and TypeScript client for production use. - [Tasks and Polling](https://docs.mynth.io/sdk/js-ts/tasks.md): Work with completed tasks, async tasks, helper methods, and SDK polling errors. - [Types and Models](https://docs.mynth.io/sdk/js-ts/types-and-models.md): Use exported request types, task types, and runtime model metadata from the SDK. - [Integrations](https://docs.mynth.io/sdk/integrations.md): Official integrations for Convex, TanStack Start, and TanStack AI. - [Convex](https://docs.mynth.io/sdk/integrations/convex.md): Verify webhook signatures and route events with @mynthio/sdk/convex. - [TanStack Start](https://docs.mynth.io/sdk/integrations/tanstack-start.md): Verify and route Mynth webhooks in TanStack Start server routes. - [TanStack AI](https://docs.mynth.io/sdk/integrations/tanstack-ai.md): Generate images through TanStack AI's image abstraction with @mynthio/tanstack-ai-adapter. - [Authentication](https://docs.mynth.io/reference/authentication.md): Authenticate Mynth API requests with API keys and understand Public Access Tokens. - [Image Generation Request](https://docs.mynth.io/reference/image-generation-request.md): Reference for the request body accepted by POST /image/generate. - [Image Rate Request](https://docs.mynth.io/reference/image-rate-request.md): Reference for the request body and response shape of POST /image/rate. - [Image Alt Request](https://docs.mynth.io/reference/image-alt-request.md): Reference for the request body and response shape of POST /image/alt. - [Tasks](https://docs.mynth.io/reference/tasks.md): Reference for task endpoints, statuses, and result retrieval. - [Webhooks](https://docs.mynth.io/reference/webhooks.md): Reference for webhook events, headers, signature format, and payloads. - [Errors and Limits](https://docs.mynth.io/reference/errors-and-limits.md): Practical limits, validation boundaries, and the main failure cases to account for. - [OpenAPI Reference](https://docs.mynth.io/reference/openapi.md): Use the live OpenAPI document for endpoint schemas and interactive API exploration. - [Qwen Image 2.0](https://docs.mynth.io/models/alibaba-qwen-image-2-0.md): Use Qwen Image 2.0 with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Qwen Image 2.0 Pro](https://docs.mynth.io/models/alibaba-qwen-image-2-0-pro.md): Use Qwen Image 2.0 Pro with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Qwen Image 3.0](https://docs.mynth.io/models/alibaba-qwen-image-3-0.md): Use Qwen Image 3.0 with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Qwen Image 3.0 Pro](https://docs.mynth.io/models/alibaba-qwen-image-3-0-pro.md): Use Qwen Image 3.0 Pro with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Seedream 5.0 Lite](https://docs.mynth.io/models/bytedance-seedream-5-0-lite.md): Use Seedream 5.0 Lite with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Seedream Pro](https://docs.mynth.io/models/bytedance-seedream-pro.md): Use Seedream Pro with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [FLUX.1 Schnell](https://docs.mynth.io/models/black-forest-labs-flux-1-schnell.md): Use FLUX.1 Schnell with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [FLUX.1 Dev](https://docs.mynth.io/models/black-forest-labs-flux-1-dev.md): Use FLUX.1 Dev with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [FLUX.2 Dev](https://docs.mynth.io/models/black-forest-labs-flux-2-dev.md): Use FLUX.2 Dev with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [FLUX.2 Pro](https://docs.mynth.io/models/black-forest-labs-flux-2-pro.md): Use FLUX.2 Pro with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [FLUX.2 Flex](https://docs.mynth.io/models/black-forest-labs-flux-2-flex.md): Use FLUX.2 Flex with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [FLUX.2 Max](https://docs.mynth.io/models/black-forest-labs-flux-2-max.md): Use FLUX.2 Max with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [FLUX.2 Klein](https://docs.mynth.io/models/black-forest-labs-flux-2-klein-4b.md): Use FLUX.2 Klein with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [FLUX Virtual Try-On](https://docs.mynth.io/models/black-forest-labs-flux-virtual-try-on.md): Use FLUX Virtual Try-On with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Gemini 3.1 Flash-Lite Image](https://docs.mynth.io/models/google-gemini-3-1-flash-lite-image.md): Use Gemini 3.1 Flash-Lite Image with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Gemini 3.1 Flash Image](https://docs.mynth.io/models/google-gemini-3-1-flash-image.md): Use Gemini 3.1 Flash Image with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Gemini 3 Pro Image Preview](https://docs.mynth.io/models/google-gemini-3-pro-image-preview.md): Use Gemini 3 Pro Image Preview with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Ideogram Remove Background](https://docs.mynth.io/models/ideogram-remove-background.md): Use Ideogram Remove Background with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [ImagineArt 1.5 Pro](https://docs.mynth.io/models/imagineart-imagineart-1-5-pro.md): Use ImagineArt 1.5 Pro with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [ImagineArt 2.0](https://docs.mynth.io/models/imagineart-imagineart-2-0.md): Use ImagineArt 2.0 with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Bismuth Illustrious Mix](https://docs.mynth.io/models/john6666-bismuth-illustrious-mix.md): Use Bismuth Illustrious Mix with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Kling IMAGE 3.0](https://docs.mynth.io/models/klingai-kling-image-3-0.md): Use Kling IMAGE 3.0 with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Kling IMAGE O3](https://docs.mynth.io/models/klingai-kling-image-o3.md): Use Kling IMAGE O3 with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Krea 2 Turbo](https://docs.mynth.io/models/krea-krea-2-turbo.md): Use Krea 2 Turbo with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Krea 2 Medium](https://docs.mynth.io/models/krea-krea-2-medium.md): Use Krea 2 Medium with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Krea 2 Large](https://docs.mynth.io/models/krea-krea-2-large.md): Use Krea 2 Large with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Luma UNI-1](https://docs.mynth.io/models/luma-uni-1.md): Use Luma UNI-1 with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Luma UNI-1 Max](https://docs.mynth.io/models/luma-uni-1-max.md): Use Luma UNI-1 Max with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [One obsession](https://docs.mynth.io/models/maxfeifei8-one-obsession.md): Use One obsession with the Mynth SDK or REST API. Capabilities, negative prompts, and generation examples. - [GPT Image 2](https://docs.mynth.io/models/openai-gpt-image-2.md): Use GPT Image 2 with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [P-Image Try-On](https://docs.mynth.io/models/prunaai-p-image-try-on.md): Use P-Image Try-On with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Pony Diffusion V6 XL](https://docs.mynth.io/models/purplesmartai-pony-diffusion-v6-xl.md): Use Pony Diffusion V6 XL with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Recraft V4](https://docs.mynth.io/models/recraft-recraft-v4.md): Use Recraft V4 with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Recraft V4 Pro](https://docs.mynth.io/models/recraft-recraft-v4-pro.md): Use Recraft V4 Pro with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Reve](https://docs.mynth.io/models/reve-reve.md): Use the latest Reve image model with the Mynth SDK or REST API for generation and single-image editing. - [Reve Remix](https://docs.mynth.io/models/reve-reve-remix.md): Use the latest Reve Remix model with the Mynth SDK or REST API for multi-reference image composition. - [Riverflow 2.0 Pro](https://docs.mynth.io/models/sourceful-riverflow-2-0-pro.md): Use Riverflow 2.0 Pro with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Z-Image](https://docs.mynth.io/models/tongyi-mai-z-image.md): Use Z-Image with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Z-Image Turbo](https://docs.mynth.io/models/tongyi-mai-z-image-turbo.md): Use Z-Image Turbo with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Wan 2.6](https://docs.mynth.io/models/wan-wan2-6-image.md): Use Wan 2.6 with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Wan 2.7 Image](https://docs.mynth.io/models/wan-wan2-7-image.md): Use Wan 2.7 Image with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Wan 2.7 Image Pro](https://docs.mynth.io/models/wan-wan2-7-image-pro.md): Use Wan 2.7 Image Pro with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Grok Imagine Image](https://docs.mynth.io/models/xai-grok-imagine-image.md): Use Grok Imagine Image with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Grok Imagine Image Quality](https://docs.mynth.io/models/xai-grok-imagine-image-quality.md): Use Grok Imagine Image Quality with the Mynth SDK or REST API. Capabilities, inputs, auto size, and magic prompt. - [Check API Health](https://docs.mynth.io/api-reference/system/check-api-health.md) - [List Tasks](https://docs.mynth.io/api-reference/tasks/list-tasks.md) - [Get Task](https://docs.mynth.io/api-reference/tasks/get-task.md) - [Get Task Status](https://docs.mynth.io/api-reference/tasks/get-task-status.md) - [Get Task Result](https://docs.mynth.io/api-reference/tasks/get-task-result.md) - [Create API Key](https://docs.mynth.io/api-reference/api-keys/create-api-key.md) - [Update API Key](https://docs.mynth.io/api-reference/api-keys/update-api-key.md) - [Delete API Key](https://docs.mynth.io/api-reference/api-keys/delete-api-key.md) - [List Destinations](https://docs.mynth.io/api-reference/destinations/list-destinations.md) - [Create Destination](https://docs.mynth.io/api-reference/destinations/create-destination.md) - [Get Destination](https://docs.mynth.io/api-reference/destinations/get-destination.md) - [Update Destination](https://docs.mynth.io/api-reference/destinations/update-destination.md) - [Delete Destination](https://docs.mynth.io/api-reference/destinations/delete-destination.md) - [Test Destination](https://docs.mynth.io/api-reference/destinations/test-destination.md) - [Create Webhook](https://docs.mynth.io/api-reference/webhooks/create-webhook.md) - [Update Webhook](https://docs.mynth.io/api-reference/webhooks/update-webhook.md) - [Delete Webhook](https://docs.mynth.io/api-reference/webhooks/delete-webhook.md) - [Generate Image](https://docs.mynth.io/api-reference/image/generate-image.md) - [Estimate Image Generation Cost](https://docs.mynth.io/api-reference/image/estimate-image-generation-cost.md) - [Upload Images](https://docs.mynth.io/api-reference/image/upload-images.md) - [Rate Image](https://docs.mynth.io/api-reference/image/rate-image.md) - [Generate Image Alt Text](https://docs.mynth.io/api-reference/image/generate-image-alt-text.md) - [Review Image](https://docs.mynth.io/api-reference/image/review-image.md) - [Generate Video](https://docs.mynth.io/api-reference/video/generate-video.md) - [Estimate Video Generation Cost](https://docs.mynth.io/api-reference/video/estimate-video-generation-cost.md) - [List Models](https://docs.mynth.io/api-reference/models/list-models.md) - [Get Current Account](https://docs.mynth.io/api-reference/account/get-current-account.md) - [Get Account Balance](https://docs.mynth.io/api-reference/account/get-account-balance.md) ## OpenAPI Specs - [openapi](https://api.mynth.io/openapi.json) ## Optional - [Mynth](https://mynth.io) - [Dashboard](https://mynth.io/dashboard)