Loading...
Loading...
Compare original and translation side by side
./<persona-slug>/./<persona-slug>/gen-ai whoami # auth + gen-ai install + Node v22+ check
command -v curl # ships with macOS / Linux / Git-Bashgen-ai whoamigen-ai loginPICSART_ACCESS_TOKENPICSART_USER_IDgen-ai whoami # 认证 + gen-ai 安装 + Node v22+ 版本检查
command -v curl # macOS / Linux / Git-Bash 自带gen-ai whoamigen-ai loginPICSART_ACCESS_TOKENPICSART_USER_IDterminalgen-aiterminalgen-aigen-ai whoami--debuggen-ai whoami--debuggen-aigen-aiURL=$(gen-ai generate -m <model> -p "<prompt>" --json --no-input | grep -oE 'https?://[^"]+' | head -1)
curl -sSL -o ./<persona-slug>/<file>.<ext> "$URL"--download--json --no-input2>&1--json --no-input)--json --no-input | grep -oE 'https?://[^"]+' | head -1URL=$(...)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--json --no-input--json --no-input)2>&1--json --no-input | grep -oE 'https?://[^"]+' | head -1URL=$(...)| Style | Model | For | Cost |
|---|---|---|---|
| | photoreal humans + photoreal common pets / anthropomorphic animals | ~3 cr |
| | anime, 3D-animated fruit/object/character, illustration | ~1 cr |
flux-2-maximageUrls| 风格 | 模型 | 适用场景 | 成本 |
|---|---|---|---|
| | 写实人类 + 写实常见宠物/拟人化动物 | ~3 cr |
| | 动漫、3D动画化水果/物品/角色、插画 | ~1 cr |
flux-2-maximageUrls| Brief contains | Style → opening |
|---|---|
| Fruit/veggie/food + "character" / "anthropomorphic" / "brainrot" | stylized → fruit/object |
| Animal name + "pet" / "influencer" / "creator" / breed (NOT "real form" / "four-legged") | realistic → anthropomorphic humanoid pet (default for animal/pet briefs — fluffy biped in cute clothes, matches project's |
| Animal name + explicit "real form" / "four-legged" / "on all fours" / "real cat / dog / animal" | realistic → real-form quadruped pet (opt-in) |
| "Anime", "manga", "magical girl", "kawaii", "shoujo", "shonen" | stylized → anime |
| "3D rendered", "stylized 3D", "claymation", "feature-film animation" | stylized → 3D character |
| "Illustrated", "painted", "watercolor", "comic book" | stylized → illustration |
| Human profession + demographic, no style cue | realistic → photoreal human |
pets| 需求描述包含内容 | 风格→初始设定 |
|---|---|
| 水果/蔬菜/食物 + "character" / "anthropomorphic" / "brainrot" | stylized → 水果/物品角色 |
| 动物名称 + "pet" / "influencer" / "creator" / 品种(不含"real form" / "four-legged") | realistic → 拟人化人形宠物(宠物类需求默认:穿着可爱衣服的毛茸茸双足角色,匹配项目 |
| 动物名称 + 明确的"real form" / "four-legged" / "on all fours" / "real cat / dog / animal" | realistic → 真实形态四足宠物(需主动选择) |
| "Anime", "manga", "magical girl", "kawaii", "shoujo", "shonen" | stylized → 动漫风格 |
| "3D rendered", "stylized 3D", "claymation", "feature-film animation" | stylized → 3D角色 |
| "Illustrated", "painted", "watercolor", "comic book" | stylized → 插画风格 |
| 人类职业 + 人口特征,无风格提示 | realistic → 写实人类 |
pets-i-icasting.pngpersona.md_meta.jsonreel-hero.pngreel.mp4casting.pngpersona.md_meta.jsonreel-hero.pngreel.mp4persona.mdGive me a one-liner — vibe / type / niche.
Examples:
- anthropomorphic pet (default for pet briefs): "fluffy golden puppy influencer, sassy queen, mini hoodie" / "calico kitten creator, sleepy baby, tiny sweater"
- real-form pet (opt-in): "real four-legged tortie cat in a sunlit apartment"
- realistic human: "Berlin art curator, dark academia, mid-thirties"
- stylized: "anime magical-girl librarian" / "anthropomorphic strawberry, brainrot 3D"
Add-ons: "from /path/photo.png" / "add a tiktok reel" / "named Mochi"persona.md请提供一句话描述——风格/类型/细分领域。
示例:
- 拟人化宠物(宠物需求默认):"fluffy golden puppy influencer, sassy queen, mini hoodie" / "calico kitten creator, sleepy baby, tiny sweater"
- 真实形态宠物(需主动选择):"real four-legged tortie cat in a sunlit apartment"
- 写实人类:"Berlin art curator, dark academia, mid-thirties"
- 风格化:"anime magical-girl librarian" / "anthropomorphic strawberry, brainrot 3D"
附加选项:"from /path/photo.png" / "add a tiktok reel" / "named Mochi"persona.mdpersona.mdURL=$(gen-ai generate -m <style-model> -p "<subject-opening> The image shows the same exact character from four camera angles in a 2x2 portrait grid (9:16 canvas). ALL FOUR PANELS share: identical plain seamless studio gray background — flat uniform fill, no gradient/texture/scene. Identical signature wardrobe — same complete outfit head to feet (or, for common pets, identical simple accessories like collar/bandana/sweater — never humanoid clothing). Identical neutral expression — relaxed mouth. Identical even soft frontal softbox key + subtle fill + soft ground shadow, no rim lights, no colored gels. Identical hair/fur. Same identity in every panel: <frozen appearance block>. Differs only in angle: TOP-LEFT front-facing full body eyes at camera; TOP-RIGHT 3/4 facing camera-right; BOTTOM-LEFT full left profile looking off-left; BOTTOM-RIGHT 3/4 from behind over-the-shoulder. Magazine fashion model sheet composition, thin clean grid lines. The four panels MUST look like consecutive shots from one session — same wardrobe, backdrop, lighting, character; only angle differs. Absolutely no text, no captions, no watermarks, no logos, no UI elements, no phone, no device, no screen, no social media overlays in any panel." --aspect-ratio 9:16 --json --no-input | grep -oE 'https?://[^"]+' | head -1)
curl -sSL -o ./<persona-slug>/casting.png "$URL"<style-model>gemini-3.1-flash-imagegrok-imagineflux-2-max-i <reference-path>URL=$(gen-ai generate -m <style-model> -p "<subject-opening> The image shows the same exact character from four camera angles in a 2x2 portrait grid (9:16 canvas). ALL FOUR PANELS share: identical plain seamless studio gray background — flat uniform fill, no gradient/texture/scene. Identical signature wardrobe — same complete outfit head to feet (or, for common pets, identical simple accessories like collar/bandana/sweater — never humanoid clothing). Identical neutral expression — relaxed mouth. Identical even soft frontal softbox key + subtle fill + soft ground shadow, no rim lights, no colored gels. Identical hair/fur. Same identity in every panel: <frozen appearance block>. Differs only in angle: TOP-LEFT front-facing full body eyes at camera; TOP-RIGHT 3/4 facing camera-right; BOTTOM-LEFT full left profile looking off-left; BOTTOM-RIGHT 3/4 from behind over-the-shoulder. Magazine fashion model sheet composition, thin clean grid lines. The four panels MUST look like consecutive shots from one session — same wardrobe, backdrop, lighting, character; only angle differs. Absolutely no text, no captions, no watermarks, no logos, no UI elements, no phone, no device, no screen, no social media overlays in any panel." --aspect-ratio 9:16 --json --no-input | grep -oE 'https?://[^"]+' | head -1)
curl -sSL -o ./<persona-slug>/casting.png "$URL"<style-model>gemini-3.1-flash-imagegrok-imagineflux-2-max-i <reference-path><subject-opening><subject-opening>petspetsimageUrlsimageUrlsURL=$(gen-ai generate -m gemini-3.1-flash-image -i ./<persona-slug>/casting.png -p "<subject-opening from Step 3> Single full-body photograph of the same character from the casting-card reference, head-to-toe in frame. <frozen appearance block>. Wearing the same signature wardrobe shown in casting card. <opening pose / framing for chosen concept>. <atmospheric environment + lighting>. Composition: full body head to toe, framed for video animation in <platform-AR>. Real photograph quality (or stylized rendering per opening). No text, no captions, no watermarks, no logos, no UI, no phone, no device, no screen, no social media overlays." --aspect-ratio <platform-AR> --json --no-input | grep -oE 'https?://[^"]+' | head -1)
curl -sSL -o ./<persona-slug>/reel-hero.png "$URL"flux-2-maxURL=$(gen-ai generate -m gemini-3.1-flash-image -i ./<persona-slug>/casting.png -p "<subject-opening from Step 3> Single full-body photograph of the same character from the casting-card reference, head-to-toe in frame. <frozen appearance block>. Wearing the same signature wardrobe shown in casting card. <opening pose / framing for chosen concept>. <atmospheric environment + lighting>. Composition: full body head to toe, framed for video animation in <platform-AR>. Real photograph quality (or stylized rendering per opening). No text, no captions, no watermarks, no logos, no UI, no phone, no device, no screen, no social media overlays." --aspect-ratio <platform-AR> --json --no-input | grep -oE 'https?://[^"]+' | head -1)
curl -sSL -o ./<persona-slug>/reel-hero.png "$URL"flux-2-max| Platform | AR | Duration |
|---|---|---|
| tiktok / instagram-reel / instagram-story / youtube-shorts | 9:16 | 8s |
| instagram-feed | 1:1 (Seedance has no 4:5; closest universal) | 6s |
| youtube / linkedin / x / twitter | 16:9 | 8–10s |
URL=$(gen-ai generate -m seedance-2.0 -i ./<persona-slug>/reel-hero.png -p "<subject-opening>. <frozen appearance block>. Wearing same signature wardrobe. <single action from vocabulary matching the concept — strong language here, this is where action actually lands>. <same atmospheric environment + lighting as hero>. <single camera move from vocabulary>. Audio: <ambient soundscape matching scene — environmental sounds, mood-appropriate underscore; no spoken dialogue, no voiceover, no music vocals>. Single continuous moment, no scene changes, no multiple sequential actions, no fast or chaotic movement. No text, no captions, no watermarks, no logos, no UI, no phone, no device, no screen, no social media overlays." --aspect-ratio <platform-AR> --duration <platform-duration> --generate-audio --json --no-input | grep -oE 'https?://[^"]+' | head -1)
curl -sSL -o ./<persona-slug>/reel.mp4 "$URL"startFrameseedance-i2vhailuo-2.3-fastrunway-gen3a-turbowan-2.7-i2vluma-flash2-i2vpika-framesrunway-gen4-refkling-3.0-proveo-3.1veo-3.1-faststartFrameimageUrls| 平台 | AR格式 | 时长 |
|---|---|---|
| tiktok / instagram-reel / instagram-story / youtube-shorts | 9:16 | 8s |
| instagram-feed | 1:1(Seedance无4:5;最接近的通用格式) | 6s |
| youtube / linkedin / x / twitter | 16:9 | 8–10s |
URL=$(gen-ai generate -m seedance-2.0 -i ./<persona-slug>/reel-hero.png -p "<subject-opening>. <frozen appearance block>. Wearing same signature wardrobe. <single action from vocabulary matching the concept — strong language here, this is where action actually lands>. <same atmospheric environment + lighting as hero>. <single camera move from vocabulary>. Audio: <ambient soundscape matching scene — environmental sounds, mood-appropriate underscore; no spoken dialogue, no voiceover, no music vocals>. Single continuous moment, no scene changes, no multiple sequential actions, no fast or chaotic movement. No text, no captions, no watermarks, no logos, no UI, no phone, no device, no screen, no social media overlays." --aspect-ratio <platform-AR> --duration <platform-duration> --generate-audio --json --no-input | grep -oE 'https?://[^"]+' | head -1)
curl -sSL -o ./<persona-slug>/reel.mp4 "$URL"startFrameseedance-i2vhailuo-2.3-fastrunway-gen3a-turbowan-2.7-i2vluma-flash2-i2vpika-framesrunway-gen4-refkling-3.0-proveo-3.1veo-3.1-faststartFrameimageUrlspersona.md#picsart #picsartcreator| Platform | Length | Niche tags after Picsart pair |
|---|---|---|
| tiktok / youtube-shorts | 80–150 chars, single hook | 4–6 trending |
| instagram (reel/story/feed) | 150–300 chars, hook + story | 6–10 |
| youtube standard | 300–500 chars, keyword-dense | 3–5 keyword |
| 500–1000 chars, professional | 3–5 industry | |
| x / twitter | ≤280 chars total (incl tags) | 1–2 |
| (no platform) | ~150 chars, balanced | 4–6 generic |
✓ Persona "Lena" delivered. Local: ./lena/. Spent: ~3 credits. Files: casting.png, persona.md (+ _meta.json)reel-hero.pngreel.mp4persona.md#picsart #picsartcreator| 平台 | 长度 | Picsart标签后的细分领域标签 |
|---|---|---|
| tiktok / youtube-shorts | 80–150字符,单个钩子 | 4–6个热门标签 |
| instagram(reel/story/feed) | 150–300字符,钩子+故事 | 6–10个 |
| youtube标准视频 | 300–500字符,关键词密集 | 3–5个关键词标签 |
| 500–1000字符,专业风格 | 3–5个行业标签 | |
| x / twitter | 总计≤280字符(含标签) | 1–2个 |
| (无指定平台) | ~150字符,平衡风格 | 4–6个通用标签 |
✓ Persona "Lena" delivered. Local: ./lena/. Spent: ~3 credits. Files: casting.png, persona.md (+ _meta.json)reel-hero.pngreel.mp4gen-ai pricing <model>✓ <step> (<credits>)Plan:
Casting card (gemini-3.1-flash-image, 1 image) ~3 cr
[ Reel hero (gemini-3.1-flash-image, 1 image) ~3 cr ] reel only
[ Reel animation (seedance-2.0, 8s @ 9:16) ~8 cr ]
────────────────────────────────────────────────────────
Estimated total ~3 or ~14 cr
Continue? [Y/n]gen-ai pricing <model>✓ <step> (<credits>)Plan:
Casting card (gemini-3.1-flash-image, 1 image) ~3 cr
[ Reel hero (gemini-3.1-flash-image, 1 image) ~3 cr ] reel only
[ Reel animation (seedance-2.0, 8s @ 9:16) ~8 cr ]
────────────────────────────────────────────────────────
Estimated total ~3 or ~14 cr
Continue? [Y/n]./<persona-slug>/
├── persona.md # name, bio, voice, frozen appearance block, captions
├── casting.png # head-to-toe 4-angle casting card
├── reel-hero.png # only if reel requested
├── reel.mp4 # only if reel requested (includes ambient audio)
└── _meta.json # step parameters./<persona-slug>/
├── persona.md # 名称、简介、语气、固定外观模块、文案
├── casting.png # 全身4角度选角卡
├── reel-hero.png # 仅当请求短视频时存在
├── reel.mp4 # 仅当请求短视频时存在(含环境音)
└── _meta.json # 步骤参数_meta.json_meta.jsongen-ai generate -m kling-multi-image-v2-1 -i nova/casting.png -i lena/casting.png -p "<scene>"gemini-3-pro-image--generate-audiogen-ai generate -m kling-multi-image-v2-1 -i nova/casting.png -i lena/casting.png -p "<scene>"gemini-3-pro-image--generate-audio