Hi everyone,
I'm the founder and CTO of the open-source project AFFiNE (https://github.com/toeverything/AFFiNE), which currently has 66.9K stars on GitHub.
Recently, I built a new project called LlamaGen.ai — an AI platform for generating comics and manga. As part of it, we’ve created a Comic API specifically for developers.
I also published the official JavaScript/TypeScript SDK as the npm package comic (npm i comic).
The API supports generating multi-panel comics (1–20 panels), character consistency (via reference images or character descriptions), various styles (including 500+ presets and custom styles), and different aspect ratios. It accepts text prompts, and higher plans support image-to-comic, video-to-comic, and document-to-comic workflows.
Quick SDK Example
npm i comic
import { LlamaGenClient } from 'comic';
const client = new LlamaGenClient({ apiKey: 'YOUR_API_KEY' });
const result = await client.comics.generate({
prompt: "A brave fox warrior fighting a giant robot in a neon cyberpunk city, dramatic manga style, 4 panels",
panels: 4,
style: "manga",
character_consistency: true
});
Right now, I’m actively looking for honest feedback and real experiments from the developer community. I want to know how people might actually use it, what works well, what’s missing, and how it can be improved.
For more details, API reference, full parameters, and examples, please check: https://llamagen.ai/comic-api
If you’re interested in trying the API or SDK, feel free to leave a comment below or send me a message. I’ll happily send you some experience credits to test it out.
I’d really appreciate any thoughts, use case ideas, prompt tips, or integration experiences you might have.
Thanks in advance!
Tags: AI, Comics, API, ImageGeneration, Manga, OpenSource, Feedback, SDK, JavaScript
Useful Links:
- AFFiNE: https://github.com/toeverything/AFFiNE
- LlamaGen.ai Comic API: https://llamagen.ai/comic-api
- Main Platform: https://llamagen.ai
- npm package: https://www.npmjs.com/package/comic
Top comments (0)