Open layer: value first
Install visual craft, use-case templates, and agent workflows in Codex, Claude Code, or Cursor.
Peituka for Developers
Skills, TypeScript SDK, CLI, and MCP are open. Explore the workflow and template catalog for free, then use Peituka Cloud for hosted generation, automation, and team delivery.
Install visual craft, use-case templates, and agent workflows in Codex, Claude Code, or Cursor.
Add article visuals, thumbnails, and ad creatives to scripts and automations with TypeScript or the CLI.
Use hosted generation, stable image URLs, credit billing, history, and the template community.
OPEN SOURCE
Learn to plan, generate, and visually verify images with no API key.
git clone https://github.com/peituka/peituka.gitFor scripts, batches, and CI. Browse public templates without a key.
npx @peituka/cli templatesLet Codex, Claude, and Cursor call Peituka tools directly.
npx @peituka/mcpCLOUD API
The full key is shown only once. Save it in a password manager or environment variable.
No API keys yet. Create one to make your first call.
import { PeitukaClient } from "@peituka/core";
const peituka = new PeitukaClient({
baseUrl: "https://peituka.com",
apiKey: process.env.PEITUKA_API_KEY
});
const result = await peituka.generate({
prompt: "Editorial header about AI agents with clear title space",
useCase: "article_visual",
aspectRatio: "16:9",
outputCount: 1
});
console.log(result.assets[0].imageUrl);curl https://peituka.com/api/generations \
-H "Authorization: Bearer $PEITUKA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Editorial header about AI agents with clear title space",
"preset": {
"useCase": "article_visual",
"style": "editorial",
"aspectRatio": "16:9",
"quality": "medium",
"outputCount": 1,
"language": "en"
}
}'REST
GET /api/templatesPublic, no API keyPOST /api/generationsBearer API keyGET /api/generations/:idBearer API keyUse Cloud only when you need hosted generation, stable URLs, batch automation, and more capacity.