Skip to content
All posts

· By The Cloakray team

Anime and illustration art through one API

Generate and edit anime-style characters and scenes with GPT Image, Seedream, Qwen Image, Grok Imagine, Gemini and more, paid in crypto.

Anime and illustration styles are where image models differ most. One draws clean line art and flat colour, another paints soft backgrounds, a third keeps a character's face the same from one picture to the next. Cloakray gives you the leading image models behind one API and one balance, so you can use each for what it does best.

The models

See every image model and its price per image on the models page.

Generate

Image generation follows the OpenAI image API, so the openai SDK works with the base URL changed. See image generation for every option.

import fs from "node:fs";
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.cloakray.com/v1",
  apiKey: process.env.CLOAKRAY_API_KEY,
});

const result = await client.images.generate({
  model: "seedream-5-0-pro",
  prompt:
    "anime key visual, a girl with silver hair and a red scarf on a rooftop at dusk, city lights below, cel shading, detailed background",
  n: 1,
});

fs.writeFileSync("key-visual.png", Buffer.from(result.data[0].b64_json, "base64"));

Keep a character consistent

Generate the character once, then use image editing to put the same character in new poses, outfits and scenes instead of hoping a new prompt draws the same face:

const scene = await client.images.edit({
  model: "gemini-3-pro-image",
  image: fs.createReadStream("key-visual.png"),
  prompt: "Same character, now sitting in a train carriage reading a book, morning light through the window",
});

What people make with it

  • Character art for chat and games. Portraits and expressions for the characters in a roleplay app, or sprites and key art for a visual novel.
  • Comics and webtoons. Storyboard panels, backgrounds and covers.
  • VTuber and stream assets. Avatars, banners, emotes and overlays.
  • Style exploration. Run one prompt through four models and pick the look you like before you commission the final piece.

Each model is subject to its provider's own content policy, so check the model's rules for what your project needs.

Get started

  1. Create an account and top up with USDT, USDC, BTC, ETH or another coin.
  2. Pick an image model from the list.
  3. Point the OpenAI SDK at https://api.cloakray.com/v1 and start generating.