gen-ai-persona-creationlisted
Install: claude install-skill PicsArt/gen-ai-skills
# AI Influencer Persona
Turn one sentence into a head-to-toe 4-angle casting card in signature wardrobe, persona profile, platform-tuned captions, and (optional) a reel with ambient audio. Output: `./<persona-slug>/`.
## When to Use
_See the description above._
## Prerequisites
```bash
gen-ai whoami # auth + gen-ai install + Node v22+ check
command -v curl # ships with macOS / Linux / Git-Bash
```
If `gen-ai whoami` fails: `gen-ai login` or set `PICSART_ACCESS_TOKEN` + `PICSART_USER_ID`. No extra media tools needed.
## How to Run
_Use the agent's `terminal` tool to invoke `gen-ai` commands as described in the Procedure below._
## Quick Reference
_See the Procedure for canonical commands._
## Procedure
_See sections below for the detailed walkthrough._
## Pitfalls
_See Common Pitfalls below._
## Verification
Run `gen-ai whoami` to confirm authentication, then re-run the failed command with `--debug`.
## How the skill calls `gen-ai`
```bash
URL=$(gen-ai generate -m <model> -p "<prompt>" --json --no-input | grep -oE 'https?://[^"]+' | head -1)
curl -sSL -o ./<persona-slug>/<file>.<ext> "$URL"
```
`--download` doesn't work with `--json --no-input` — URL+curl is canonical.
**Bash footguns:** never add `2>&1` or stderr redirects between `--json --no-input` and the closing `)` — shell parse error before the command runs (verified). Keep the inner pipe strictly `--json --no-input | grep -oE 'https?://[^"]+' | head -1`. One generation per `URL=$