LlamaGen React Native SDK is an official LlamaGen SDK for the LlamaGen API. It includes helpers for the latest LlamaGen comic api and animation api workflows.
Use it to create comic image generations, continue comic stories, update panels, inspect usage, upload source assets, query generated panels, and create animation generations.
npm i @llamagen/llamagen-react-nativeimport { LlamaGenClient } from '@llamagen/llamagen-react-native';
const client = new LlamaGenClient({ apiKey: '<server-issued-token>' });
const job = await client.comic.create({
prompt: 'mobile storyboard panel, energetic hero pose',
size: '1024x1024',
});
const animation = await client.animation.create({ prompt: 'animate the finished panel' });- Comic API: create jobs, retrieve jobs, wait for completion where the language client supports polling, continue writing, update panels, usage, uploads, and query panels.
- Animation API: create and retrieve animation generation jobs.
- Shared API behavior: bearer-token authentication, configurable base URL, request timeouts, and consistent API errors.
- Comic API docs: https://llamagen.ai/comic-api/docs
- SDK resources: https://llamagen.ai/comic-api/resources/libraries
- Repository: https://github.com/LlamaGenAI/llamagen-react-native
npm install
npm run typescript
npm testcomic api, animation api, LlamaGen API, @llamagen/llamagen-react-native