Per image
$0.12
USD per image, any size or quality
Availability, last 24 hours
Up
Hand it to your AI agent
Copy this prompt into Claude Code, Cursor, Codex or any coding agent. It tells the agent where the docs are and how to use your API key.
Integrate the model `moss-image-sft` from Lovely Router into this project through the OpenAI Images API. - Docs (read first): https://lovelyrouter.com/docs/models/images.md - Use the official OpenAI SDK with base URL https://lovelyrouter.com/v1: POST /v1/images/generations and /v1/images/edits. For long or batch work, queue jobs with POST https://lovelyrouter.com/v1/images/jobs and fetch them when done. - One flat price per image; the price list is in the docs and GET https://lovelyrouter.com/v1/models. - Model id: `moss-image-sft`. GET https://lovelyrouter.com/v1/models lists every model with its price. - Auth: read my API key from the LOVELY_API_KEY environment variable and send it as `Authorization: Bearer $LOVELY_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://lovelyrouter.com/app/keys. - Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large. - Every docs page is plain Markdown; the full index is https://lovelyrouter.com/llms.txt. My task: <describe what you want to build or get>
Call it
Quickstart →OpenAI Images API
curl https://lovelyrouter.com/v1/images/generations \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{"model": "moss-image-sft", "prompt": "A watercolor fox in a snowy forest", "size": "1024x1024"}'Frequently asked questions
How much does MOSS-Image SFT cost?
$0.12 per generated image, any size or quality. You pay from a prepaid balance; there is no subscription.
Is this an AI image generation API?
Yes. If you searched for an AI image generation API or a text to image API, this is it: MOSS-Image SFT through the Lovely Router API, on one prepaid key, at the price shown on this page.
Which API does MOSS-Image SFT use?
The OpenAI Images API: send requests to Lovely Router with the official OpenAI SDK by changing its base URL and key.