Back to Comic API

Developer Skills Guide

Master the LlamaGen.AI Comic API in 5 simple steps.

1. Create Account

To start using the Comic API, you first need a LlamaGen.AI account. This will give you access to the dashboard where you can manage your API keys and subscription.

2. Choose a Plan

API access requires credits. Different plans offer different rate limits and credit amounts.

  • Free: Limited credits, ideal for testing.
  • Creator/Pro: Higher limits and more credits for production use.
  • Scale: High volume and dedicated support.
View Pricing Plans

3. Initialize API Token

Once logged in, you need to generate an API key. You can find this in the API Dashboard or your profile settings.

How to get your key:

  1. Go to Comic API Dashboard
  2. Scroll to the "Test the API" section
  3. Click "Generate API Key" if you haven't already
  4. Copy your key (starts with sk- or similar)
⚠️

Keep your API key secret. Do not share it or commit it to public repositories.

4. Make Your First Request

Now you're ready to generate a comic. Here's a simple curl command to get you started.

Generate ComicPOST /v1/comics/generations
curl -X POST https://api.llamagen.ai/v1/comics/generations \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A futuristic city with flying cars, cybernetic aesthetics, sunset lighting",
    "preset": "render",
    "size": "1024x1024"
  }'
Check StatusGET /v1/comics/generations/:id
curl https://api.llamagen.ai/v1/comics/generations/gen_123456789 \
  -H "Authorization: Bearer YOUR_API_TOKEN"
Explore Full API Documentation

5. Next Steps

Congratulations! You've successfully integrated the Comic API. Here are some things to explore next: