AnyGen Storyboard / Creative Generator
Create storyboard-style visuals for narratives and slides. Powered by Nano Banana pro and Nano Banana 2. Output: online task URL for viewing (no file download).
When to use
| Scenario | Example Prompts |
|---|---|
| Storyboard | "create a storyboard for the product demo video" |
| Visual narrative | "make a visual story for the onboarding flow" |
| Creative visuals | "create storyboard slides for the marketing campaign" |
Prerequisites
- Python3 and
requests:pip3 install requests - AnyGen API Key (
sk-xxx) — Get one → Setting → Integration - Configure once:
python3 scripts/anygen.py config set api_key "sk-xxx"
All
scripts/paths below are relative to this skill's installation directory.
Invocation Flow
Step 1: Collect Required Information
Required:
- API Key —
sk-xxxformat (skip if already configured) - Prompt — What the storyboard should depict
Optional:
- Style preference via
--style - Reference files via
--file - Language:
zh-CN(default) oren-US
Step 2: Create task
python3 scripts/anygen.py create \
--operation storybook \
--prompt "A storyboard for a 30-second product demo showing user onboarding flow"
# → Task ID: task_abc123xyz
| Parameter | Short | Description |
|---|---|---|
| --operation | -o | Must be storybook |
| --prompt | -p | Storyboard description |
| --api-key | -k | API Key (omit if configured) |
| --style | -s | Style preference |
| --language | -l | zh-CN / en-US |
| --file | Reference file path (repeatable) |
Step 3: Check progress
python3 scripts/anygen.py status \
--task-id task_abc123xyz
# → [STATUS] task_id=task_abc123xyz status=processing progress=60
Progress reporting rules — you MUST follow:
- Call
statusevery 10 seconds to poll internally - Only notify the user at milestone progress points: 25%, 50%, 75%, 90%, and completion
- Example user-facing messages at milestones:
- 25% → "AnyGen is planning storyboard frames..."
- 50% → "Frames generated, creating visuals..."
- 75% → "Styling and arranging panels..."
- 90% → "Almost done, finalizing..."
- Progress may stay at the same percentage for several minutes. This is normal. Only treat
status=failedas an error.
Step 4: Return results to user
No file download for storyboard. Return the Task URL for online viewing.
python3 scripts/anygen.py status \
--task-id task_abc123xyz --json
# → {"task_id": "task_abc123xyz", "status": "completed", "progress": 100, "task_url": "https://www.anygen.io/task/task_abc123xyz"}
Tell the user:
- Task URL — for viewing and editing the storyboard online
Error Handling
| Error | Solution |
|---|---|
| invalid API key | Check if API Key is correct |
| operation not allowed | Contact admin for permissions |
| prompt is required | Add --prompt parameter |
| task not found | Check if task_id is correct |
| Generation timeout | Recreate the task |
Notes
- Maximum execution time per task is 15 minutes
- Results are viewable online at the task URL
- Powered by Nano Banana pro and Nano Banana 2