Use SurgePix Skills
Once SurgePix Skills are installed, you don't type commands—you just describe what you want in plain language. Your agent picks the right skill, runs it, and returns a download URL.
If you haven't installed yet, start with Install SurgePix Skills.
Before you start
- SurgePix Skills installed and your API key configured.
- Your agent restarted after installation, so it picks up the new skills.
- Network access to
api.surgepix.ai(enable a proxy first if your region needs one).
To confirm the skills are loaded, ask your agent: "What skills do you have?" You should see the surgepix-* skills listed.
Available skills
|
Skill |
What it does |
Output |
|---|---|---|
|
|
Build a slide deck from a topic or an outline |
|
|
|
Build an event poster from event details |
PNG download URL |
|
|
Xiaohongshu (RED) vertical carousel: cover + content pages |
Image or ZIP URL |
|
|
16:9 horizontal article illustrations (1536×864, hand-drawn) |
Image or ZIP URL |
|
|
Cut out the subject, drop the background |
Transparent PNG URL |
|
|
Translate on-image text, keep the visuals unchanged |
Image or ZIP URL |
|
|
Turn a local file into a public HTTPS URL |
CDN URL |
|
|
Check the status of an async task by |
Task status + download URL |
|
|
Pre-flight check of your environment |
Config status |
How to call a skill
Just say what you want. The agent matches your intent to a skill—no command syntax to memorize.
Generate a presentation
Generate a 10-slide PPT reviewing Q3 marketing results, corporate style, in Chinese.
Working from an outline? Point at the file—your agent reads it:
Generate a PPT from this outline: C:\Users\me\Desktop\outline.docx
Tip: On Windows, Shift + right-click a file → Copy as path to get an exact path.
Generate a poster
Make an event poster: "2026 Product Launch", March 15, Shanghai Center, modern tech style.
Generate a Xiaohongshu carousel
Generate a Xiaohongshu image set for a coffee shop opening — cover plus 3 content pages, warm minimal style.
Generate article illustrations
Generate 16:9 illustrations for a blog post about remote work productivity.
Remove a background
Remove the background from ./product.jpg
Translate image text
Translate the text in this poster to English, keep the design: ./poster-zh.png
Vertical or horizontal? Say which
Two skills generate image sets, and they're not interchangeable:
|
Use |
Use |
|---|---|
|
Xiaohongshu / RED / 笔记 / 套图 |
Blog / WeChat article / tweet |
|
Vertical carousel (cover + pages) |
16:9 horizontal (1536×864) |
|
Up to 16 images |
Up to 9 images |
If you only say "make me some images," the agent will ask which one you want. Save a round trip by naming the platform or the aspect ratio up front.
Understanding the output
Every generation returns exactly one download URL:
- One image → a direct image URL.
- Multiple images → a single ZIP URL containing the whole set.
There are no per-image links inside a set. If an agent ever offers you separate URLs for "cover," "page 2," and so on, those are fabricated—use the ZIP.
Long-running jobs
Generation runs asynchronously, but by default the skill waits and hands you the finished URL in one go. You don't have to manage anything.
For a long job you'd rather not block on, ask the agent to return immediately—you'll get a taskId instead. Check on it later:
Check the status of task task_abc123
That calls surgepix-query-task and reports the current status, plus the download URL once it's ready.
Iterating on a result
Presentation generation returns a sessionId alongside the download URL. Feed it back in to refine the same deck rather than starting over:
Same deck, but switch to a light minimal style with a blue and white palette — session ID 123.
Both versions land in the same session on the SurgePix web app.
Using local files
Most skills accept a local file path directly—your agent reads it and uploads it as needed. Two things help:
- Launch your agent in the folder that holds your files. Then you can reference
./outline.docxinstead of a full path. - Need a public link for a local file? Ask for an upload: "Upload ./logo.png and give me the URL." That runs
surgepix-upload.
Troubleshooting
|
Symptom |
Likely cause |
Fix |
|---|---|---|
|
Agent doesn't recognize the skills |
Not loaded yet |
Restart the agent; confirm with "What skills do you have?" |
|
Missing or invalid API key |
|
See Install SurgePix Skills; verify with |
|
Network or connection errors |
|
Enable your proxy in the same terminal before launching the agent |
|
Agent asks vertical or horizontal |
Platform wasn't specified |
Name the platform (Xiaohongshu, blog) or the ratio (vertical, 16:9) |
|
Wrong image format generated |
Ambiguous request |
Be explicit: "Xiaohongshu vertical carousel" vs. "16:9 article illustrations" |
Keep your API key private
Your API key works like a password. Never share it or let it appear in screenshots, recordings, or public repositories. If a key is ever exposed, revoke and reset it immediately at surgepix.ai.
Source and feedback: github.com/SurgePix/agent-skills