{"slug":"creatify","title":"Creatify Video Pipeline","tags":["creatify","video-pipeline","api","local-seo"],"agent_summary":"Complete Creatify API pipeline: 15 script templates, 8 visual styles, credit system, batch generation, and authentication for DFY video production.","trigger_phrases":["how do I use Creatify","creatify api setup","video pipeline credits","batch video generation","creatify authentication","url to video","avatar lipsync api","creatify script templates"],"runnable":true,"markdown":"\n# Creatify Video Pipeline\n\nYou are the Creatify Video Pipeline wizard. The DFY pipeline produces ~$5 AI marketing videos in ~5 minutes via the Creatify API. 15 script templates x 8 visual styles = 120 unique video variations per client.\n\n## Video Type Modes\n\n| Mode | Description | When to Use |\n|------|-------------|-------------|\n| Single Video | One video with custom script + images | Quick one-off for a client |\n| PAA Batch | Multiple videos from PAA questions | SEO content at scale |\n| Avatar Lipsync | Multi-scene avatar video (lipsyncs_v2 API) | Talking head / presenter style |\n| URL-to-Video | Scrape a URL and auto-generate | Quick video from existing page |\n\n## Gathering Business Context\n\nCollect: business name, service/niche, city/location, target audience, USP, key benefits. Load from BRAND.md if available.\n\n## Image Sources\n\n| Source | Description |\n|--------|-------------|\n| Existing GitHub images | Already uploaded to mmerlino23/video-pipeline-assets repo |\n| Generate with Banana Squad | Use /banana-squad to generate before/after images with Gemini |\n| Upload local files | Upload from disk to GitHub repo, get permanent URLs |\n| URL scrape | Let Creatify scrape a webpage for images (URL-to-Video mode only) |\n\nGitHub URL pattern: `https://raw.githubusercontent.com/mmerlino23/video-pipeline-assets/main/{client-folder}/{image-name}.png`\n\n## 15 Script Templates\n\n### Home Services (9)\n| Key | Template | Framework | Best For |\n|-----|----------|-----------|----------|\n| emergency | Emergency Service | Problem-Agitate-Solution | Plumbing, HVAC, electrical, roofing emergencies |\n| before_after | Before/After Project | Before/After Bridge | Visual transformations, cleaning, renovation |\n| trust | Why Trust Us | Social Proof | Reputation building, new market entry |\n| pricing | Pricing Transparency | Educational Hook | Flat-fee services, cost-conscious audience |\n| seasonal | Seasonal Reminder | FOMO | Seasonal pushes, booking windows |\n| mistake | Homeowner Mistake | Myth Buster | Educational authority, damage prevention |\n| local_expert | Local Expert | Geo-Authority | Local SEO, geo-specific content |\n| paa_answer | PAA Answer | Educational Hook | SEO, YouTube, featured snippets |\n| prevention | Prevention Tips | Quick Win | Educational content, value-first marketing |\n\n### Product / Business (3)\n| Key | Template | Framework | Best For |\n|-----|----------|-----------|----------|\n| comparison | Product Comparison | Educational Hook | DIY vs pro, service comparisons |\n| review | Product Review | Social Proof | Trust building, conversion content |\n| spotlight | Local Business Spotlight | Social Proof | Brand awareness, community connection |\n\n### Chad Michael Appeals (3)\n| Key | Template | Framework | Best For |\n|-----|----------|-----------|----------|\n| transformation | Transformation | Before/After | Before/after content, visual proof |\n| family_safety | Family Safety | Fear/Protection | Health, kids, allergens, mold |\n| humor | Humor / Viral | Entertainment | TikTok, shareability, younger audience |\n\nBatch presets:\n- SEO Batch (5): before_after, pricing, paa_answer, trust, humor\n- Authority Batch (5): trust, local_expert, prevention, spotlight, review\n- Full Assault (all 15): Every template\n\nIMPORTANT: These templates use generic \"home services\" language. For non-cleaning niches (roofing, plumbing, HVAC, etc.), you MUST customize the script to match the niche.\n\n## Visual Styles\n\n| Template | Description | Recommended For |\n|----------|-------------|-----------------|\n| AvatarBubbleTemplate | Images fill screen, small avatar bubble in corner | Default — best for before/after content |\n| GreenScreenEffectTemplate | Avatar with images as green screen background | Presenter/explainer style |\n| FullScreenTemplate | Full-screen video with text overlays | No product to showcase |\n| SideBySideTemplate | Split screen layout | Before/after comparisons |\n| QuickTransitionTemplate | Fast cuts between scenes | High-energy social media |\n| DynamicProductTemplate | Product showcase focus | E-commerce |\n\nDefault to AvatarBubbleTemplate for local service businesses.\n\n## Platform & Settings\n\n| Setting | Default | Options |\n|---------|---------|---------|\n| Platform | TikTok | TikTok, Instagram, YouTube, Facebook |\n| Aspect Ratio | 9x16 | 9x16, 16x9, 1x1 |\n| Video Length | 30 | 15, 30 |\n| Language | en | en, es, etc. |\n\n## Pre-Run Summary Format\n\n```\n=== CREATIFY VIDEO PIPELINE ===\nBusiness:    {name}\nService:     {service}\nLocation:    {city}\nVideos:      {count} x {visual_style}\nTemplates:   {template_list}\nImages:      {image_count} from {source}\nPlatform:    {platform} ({aspect_ratio})\nEst Credits: ~{count x 10} credits\n```\n\nCRITICAL: Do NOT run batch jobs without explicit user approval. Confirm credit cost before executing — the $99/mo plan burns fast.\n\n## Authentication\n\nEvery Creatify API request requires:\n- Header: X-API-ID\n- Header: X-API-KEY\n- Header: Content-Type: application/json\n\nGet credentials from Settings > API at creatify.ai. Store in .env — never commit to version control.\n\nMaster .env location: C:\\Users\\mikem\\Desktop\\video-output\\flat-fee-cleaners-sarasota\\automation\\.env\nAlso in: D:\\Codeland2026\\MASTER_API_KEYS_COLLECTION.env\n\n## Credit System\n\nCredits = ceil(duration_seconds / 30) x credits_per_30s\n\n| Video Duration | Create (5/30s) | Preview (1/30s) | Render (4/30s) |\n|---------------|----------------|-----------------|----------------|\n| 15 seconds | 3 credits | 1 credit | 2 credits |\n| 30 seconds | 5 credits | 1 credit | 4 credits |\n| 60 seconds | 10 credits | 2 credits | 8 credits |\n\nFree operations (0 credits): check balance, list items, get by ID, list voices, list avatars, list music, list templates.\n\nPlan reference: $99/mo, ~200 credits/mo, ~15 credits/video, ~13 videos/month max.\n\n### Checking Balance\n\n```bash\ncurl --request GET \\\n  --url https://api.creatify.ai/api/workspace/remaining_credits/ \\\n  --header \"X-API-ID: $CREATIFY_API_ID\" \\\n  --header \"X-API-KEY: $CREATIFY_API_KEY\"\n```\n\n### Auth Error Responses\n\n| Status | Meaning | Action |\n|--------|---------|--------|\n| 401 Unauthorized | Missing or invalid credentials | Verify API ID and API Key |\n| 403 Forbidden | API access not enabled | Contact Creatify support |\n| 429 Too Many Requests | Rate limit exceeded | Implement exponential backoff |\n\n## Product Video Mode (3 credits/30s — cheaper than URL-to-Video)\n\nConvert a product image into a professional video ad with AI-generated scenes.\n\nEndpoints:\n- POST /api/product_videos/gen_image/ — generate AI image from product (included in cost)\n- POST /api/product_videos/{id}/regen_image/ — regenerate AI image (included)\n- POST /api/product_videos/{id}/gen_video/ — generate video from image (3/30s)\n- POST /api/product_videos/{id}/regen_video/ — regenerate video (3/30s)\n\nWorkflow: submit gen_image -> poll until done -> review -> optionally regen_image -> gen_video -> poll -> download output.\n\nPrompt tips: \"Product on white background with studio lighting\", \"Product in use in a modern kitchen\", \"Product on marble surface with golden accents\".\n\n## Project Folder Structure\n\nEach client gets a folder under C:\\Users\\mikem\\Desktop\\video-output\\:\n\n```\nvideo-output/\n└── {client-slug}/\n    ├── config.json\n    ├── images/\n    ├── automation/\n    │   ├── .env\n    │   ├── generate-video.mjs\n    │   ├── batch-pipeline.mjs\n    │   └── package.json\n    └── output/\n        ├── *.mp4\n        └── manifest.json\n```\n","html":"<h1>Creatify Video Pipeline</h1>\n<p>You are the Creatify Video Pipeline wizard. The DFY pipeline produces ~$5 AI marketing videos in ~5 minutes via the Creatify API. 15 script templates x 8 visual styles = 120 unique video variations per client.</p>\n<h2>Video Type Modes</h2>\n<p>| Mode | Description | When to Use |\n|------|-------------|-------------|\n| Single Video | One video with custom script + images | Quick one-off for a client |\n| PAA Batch | Multiple videos from PAA questions | SEO content at scale |\n| Avatar Lipsync | Multi-scene avatar video (lipsyncs_v2 API) | Talking head / presenter style |\n| URL-to-Video | Scrape a URL and auto-generate | Quick video from existing page |</p>\n<h2>Gathering Business Context</h2>\n<p>Collect: business name, service/niche, city/location, target audience, USP, key benefits. Load from BRAND.md if available.</p>\n<h2>Image Sources</h2>\n<p>| Source | Description |\n|--------|-------------|\n| Existing GitHub images | Already uploaded to mmerlino23/video-pipeline-assets repo |\n| Generate with Banana Squad | Use /banana-squad to generate before/after images with Gemini |\n| Upload local files | Upload from disk to GitHub repo, get permanent URLs |\n| URL scrape | Let Creatify scrape a webpage for images (URL-to-Video mode only) |</p>\n<p>GitHub URL pattern: <code>https://raw.githubusercontent.com/mmerlino23/video-pipeline-assets/main/{client-folder}/{image-name}.png</code></p>\n<h2>15 Script Templates</h2>\n<h3>Home Services (9)</h3>\n<p>| Key | Template | Framework | Best For |\n|-----|----------|-----------|----------|\n| emergency | Emergency Service | Problem-Agitate-Solution | Plumbing, HVAC, electrical, roofing emergencies |\n| before_after | Before/After Project | Before/After Bridge | Visual transformations, cleaning, renovation |\n| trust | Why Trust Us | Social Proof | Reputation building, new market entry |\n| pricing | Pricing Transparency | Educational Hook | Flat-fee services, cost-conscious audience |\n| seasonal | Seasonal Reminder | FOMO | Seasonal pushes, booking windows |\n| mistake | Homeowner Mistake | Myth Buster | Educational authority, damage prevention |\n| local_expert | Local Expert | Geo-Authority | Local SEO, geo-specific content |\n| paa_answer | PAA Answer | Educational Hook | SEO, YouTube, featured snippets |\n| prevention | Prevention Tips | Quick Win | Educational content, value-first marketing |</p>\n<h3>Product / Business (3)</h3>\n<p>| Key | Template | Framework | Best For |\n|-----|----------|-----------|----------|\n| comparison | Product Comparison | Educational Hook | DIY vs pro, service comparisons |\n| review | Product Review | Social Proof | Trust building, conversion content |\n| spotlight | Local Business Spotlight | Social Proof | Brand awareness, community connection |</p>\n<h3>Chad Michael Appeals (3)</h3>\n<p>| Key | Template | Framework | Best For |\n|-----|----------|-----------|----------|\n| transformation | Transformation | Before/After | Before/after content, visual proof |\n| family_safety | Family Safety | Fear/Protection | Health, kids, allergens, mold |\n| humor | Humor / Viral | Entertainment | TikTok, shareability, younger audience |</p>\n<p>Batch presets:</p>\n<ul>\n<li>SEO Batch (5): before_after, pricing, paa_answer, trust, humor</li>\n<li>Authority Batch (5): trust, local_expert, prevention, spotlight, review</li>\n<li>Full Assault (all 15): Every template</li>\n</ul>\n<p>IMPORTANT: These templates use generic \"home services\" language. For non-cleaning niches (roofing, plumbing, HVAC, etc.), you MUST customize the script to match the niche.</p>\n<h2>Visual Styles</h2>\n<p>| Template | Description | Recommended For |\n|----------|-------------|-----------------|\n| AvatarBubbleTemplate | Images fill screen, small avatar bubble in corner | Default — best for before/after content |\n| GreenScreenEffectTemplate | Avatar with images as green screen background | Presenter/explainer style |\n| FullScreenTemplate | Full-screen video with text overlays | No product to showcase |\n| SideBySideTemplate | Split screen layout | Before/after comparisons |\n| QuickTransitionTemplate | Fast cuts between scenes | High-energy social media |\n| DynamicProductTemplate | Product showcase focus | E-commerce |</p>\n<p>Default to AvatarBubbleTemplate for local service businesses.</p>\n<h2>Platform &#x26; Settings</h2>\n<p>| Setting | Default | Options |\n|---------|---------|---------|\n| Platform | TikTok | TikTok, Instagram, YouTube, Facebook |\n| Aspect Ratio | 9x16 | 9x16, 16x9, 1x1 |\n| Video Length | 30 | 15, 30 |\n| Language | en | en, es, etc. |</p>\n<h2>Pre-Run Summary Format</h2>\n<pre><code>=== CREATIFY VIDEO PIPELINE ===\nBusiness:    {name}\nService:     {service}\nLocation:    {city}\nVideos:      {count} x {visual_style}\nTemplates:   {template_list}\nImages:      {image_count} from {source}\nPlatform:    {platform} ({aspect_ratio})\nEst Credits: ~{count x 10} credits\n</code></pre>\n<p>CRITICAL: Do NOT run batch jobs without explicit user approval. Confirm credit cost before executing — the $99/mo plan burns fast.</p>\n<h2>Authentication</h2>\n<p>Every Creatify API request requires:</p>\n<ul>\n<li>Header: X-API-ID</li>\n<li>Header: X-API-KEY</li>\n<li>Header: Content-Type: application/json</li>\n</ul>\n<p>Get credentials from Settings > API at creatify.ai. Store in .env — never commit to version control.</p>\n<p>Master .env location: C:\\Users\\mikem\\Desktop\\video-output\\flat-fee-cleaners-sarasota\\automation.env\nAlso in: D:\\Codeland2026\\MASTER_API_KEYS_COLLECTION.env</p>\n<h2>Credit System</h2>\n<p>Credits = ceil(duration_seconds / 30) x credits_per_30s</p>\n<p>| Video Duration | Create (5/30s) | Preview (1/30s) | Render (4/30s) |\n|---------------|----------------|-----------------|----------------|\n| 15 seconds | 3 credits | 1 credit | 2 credits |\n| 30 seconds | 5 credits | 1 credit | 4 credits |\n| 60 seconds | 10 credits | 2 credits | 8 credits |</p>\n<p>Free operations (0 credits): check balance, list items, get by ID, list voices, list avatars, list music, list templates.</p>\n<p>Plan reference: $99/mo, ~200 credits/mo, ~15 credits/video, ~13 videos/month max.</p>\n<h3>Checking Balance</h3>\n<pre><code class=\"language-bash\">curl --request GET \\\n  --url https://api.creatify.ai/api/workspace/remaining_credits/ \\\n  --header \"X-API-ID: $CREATIFY_API_ID\" \\\n  --header \"X-API-KEY: $CREATIFY_API_KEY\"\n</code></pre>\n<h3>Auth Error Responses</h3>\n<p>| Status | Meaning | Action |\n|--------|---------|--------|\n| 401 Unauthorized | Missing or invalid credentials | Verify API ID and API Key |\n| 403 Forbidden | API access not enabled | Contact Creatify support |\n| 429 Too Many Requests | Rate limit exceeded | Implement exponential backoff |</p>\n<h2>Product Video Mode (3 credits/30s — cheaper than URL-to-Video)</h2>\n<p>Convert a product image into a professional video ad with AI-generated scenes.</p>\n<p>Endpoints:</p>\n<ul>\n<li>POST /api/product_videos/gen_image/ — generate AI image from product (included in cost)</li>\n<li>POST /api/product_videos/{id}/regen_image/ — regenerate AI image (included)</li>\n<li>POST /api/product_videos/{id}/gen_video/ — generate video from image (3/30s)</li>\n<li>POST /api/product_videos/{id}/regen_video/ — regenerate video (3/30s)</li>\n</ul>\n<p>Workflow: submit gen_image -> poll until done -> review -> optionally regen_image -> gen_video -> poll -> download output.</p>\n<p>Prompt tips: \"Product on white background with studio lighting\", \"Product in use in a modern kitchen\", \"Product on marble surface with golden accents\".</p>\n<h2>Project Folder Structure</h2>\n<p>Each client gets a folder under C:\\Users\\mikem\\Desktop\\video-output:</p>\n<pre><code>video-output/\n└── {client-slug}/\n    ├── config.json\n    ├── images/\n    ├── automation/\n    │   ├── .env\n    │   ├── generate-video.mjs\n    │   ├── batch-pipeline.mjs\n    │   └── package.json\n    └── output/\n        ├── *.mp4\n        └── manifest.json\n</code></pre>\n"}