@genfeedai/cli 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +195 -18
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -59512,7 +59512,7 @@ var AD_PRESET_DATA = [
59512
59512
  {
59513
59513
  key: "ad-ugc-selfie",
59514
59514
  label: "UGC selfie ad",
59515
- description: "A casual handheld selfie ad. Reference audio steers the voice. There is no unchanged-audio guarantee.",
59515
+ description: "A casual handheld selfie ad: one person talks straight to their phone camera, in the setting you choose.",
59516
59516
  speaking: true,
59517
59517
  sections: [
59518
59518
  {
@@ -59585,7 +59585,7 @@ var AD_PRESET_DATA = [
59585
59585
  {
59586
59586
  key: "ad-talking-head",
59587
59587
  label: "Talking head",
59588
- description: "A direct-to-camera presentation. Reference audio steers the voice. There is no unchanged-audio guarantee.",
59588
+ description: "A direct-to-camera presentation: one person speaks your script in a steady, clean frame.",
59589
59589
  speaking: true,
59590
59590
  sections: [
59591
59591
  {
@@ -59658,7 +59658,7 @@ var AD_PRESET_DATA = [
59658
59658
  {
59659
59659
  key: "ad-screen-demo",
59660
59660
  label: "Screen demo",
59661
- description: "A narrated screen demonstration. Reference audio steers the voice. There is no unchanged-audio guarantee.",
59661
+ description: "A narrated screen demonstration: a voiceover walks through the screen content you provide.",
59662
59662
  speaking: true,
59663
59663
  sections: [
59664
59664
  {
@@ -60280,6 +60280,29 @@ var STUDIO_SYSTEM_PRESET_DATA = [
60280
60280
  values: {}
60281
60281
  }
60282
60282
  ];
60283
+ var PRESET_EXAMPLE_DATA = {};
60284
+ var PRESET_COVER_DATA = {
60285
+ "ad-ugc-selfie": "https://cdn.genfeed.ai/assets/cards/presets/ad-ugc-selfie.webp",
60286
+ "ad-talking-head": "https://cdn.genfeed.ai/assets/cards/presets/ad-talking-head.webp",
60287
+ "ad-screen-demo": "https://cdn.genfeed.ai/assets/cards/presets/ad-screen-demo.webp",
60288
+ "b2b-product-explainer-clip": "https://cdn.genfeed.ai/assets/cards/presets/b2b-product-explainer-clip.webp",
60289
+ "b2b-founder-talking-clip": "https://cdn.genfeed.ai/assets/cards/presets/b2b-founder-talking-clip.webp",
60290
+ "b2b-customer-quote-card": "https://cdn.genfeed.ai/assets/cards/presets/b2b-customer-quote-card.webp",
60291
+ "b2b-stat-insight-card": "https://cdn.genfeed.ai/assets/cards/presets/b2b-stat-insight-card.webp",
60292
+ "b2b-case-study-slide": "https://cdn.genfeed.ai/assets/cards/presets/b2b-case-study-slide.webp",
60293
+ "b2b-ad-variation": "https://cdn.genfeed.ai/assets/cards/presets/b2b-ad-variation.webp",
60294
+ "cinematic-anime-short": "https://cdn.genfeed.ai/assets/cards/presets/cinematic-anime-short.webp",
60295
+ "studio-profile-picture": "https://cdn.genfeed.ai/assets/cards/presets/studio-profile-picture.webp",
60296
+ "studio-banner": "https://cdn.genfeed.ai/assets/cards/presets/studio-banner.webp",
60297
+ "studio-youtube-thumbnail": "https://cdn.genfeed.ai/assets/cards/presets/studio-youtube-thumbnail.webp",
60298
+ "studio-meme": "https://cdn.genfeed.ai/assets/cards/presets/studio-meme.webp",
60299
+ "studio-animation": "https://cdn.genfeed.ai/assets/cards/presets/studio-animation.webp",
60300
+ "studio-dance": "https://cdn.genfeed.ai/assets/cards/presets/studio-dance.webp",
60301
+ "studio-edit-remove-background": "https://cdn.genfeed.ai/assets/cards/presets/studio-edit-remove-background.webp",
60302
+ "studio-edit-enhance": "https://cdn.genfeed.ai/assets/cards/presets/studio-edit-enhance.webp",
60303
+ "studio-edit-retouch": "https://cdn.genfeed.ai/assets/cards/presets/studio-edit-retouch.webp",
60304
+ "studio-edit-restyle": "https://cdn.genfeed.ai/assets/cards/presets/studio-edit-restyle.webp"
60305
+ };
60283
60306
 
60284
60307
  // ../contracts/src/constants/ad-presets.constant.ts
60285
60308
  var AD_PRESETS = AD_PRESET_DATA;
@@ -60294,7 +60317,7 @@ var CINEMATIC_SHORTS = CINEMATIC_SHORT_DATA;
60294
60317
  var STUDIO_SYSTEM_PRESETS = STUDIO_SYSTEM_PRESET_DATA;
60295
60318
 
60296
60319
  // ../contracts/src/constants/preset-catalog.constant.ts
60297
- var PRESET_CATALOG = [
60320
+ var WITHOUT_EXAMPLES = [
60298
60321
  ...STUDIO_SYSTEM_PRESETS.map((preset) => ({
60299
60322
  ...preset,
60300
60323
  kind: "studio"
@@ -60327,9 +60350,73 @@ var PRESET_CATALOG = [
60327
60350
  values: { playbook }
60328
60351
  }))
60329
60352
  ];
60353
+ var PRESET_CATALOG = WITHOUT_EXAMPLES.map((preset) => ({
60354
+ ...preset,
60355
+ ...PRESET_COVER_DATA[preset.key] ? { cover: PRESET_COVER_DATA[preset.key] } : {},
60356
+ examples: PRESET_EXAMPLE_DATA[preset.key] ?? []
60357
+ }));
60358
+
60359
+ // ../contracts/src/constants/workflow-catalog.generated.ts
60360
+ var WORKFLOW_CATALOG_DATA = [
60361
+ { key: "ad-remix-review", label: "Ad Remix And Review", category: "ads", description: "Inspect a winning ad, adapt the angle to your brand, draft an ad pack, and prepare a paused campaign for human review.", icon: "megaphone", inputVariables: [{ defaultValue: "", key: "brandName", label: "Brand Name", required: true, type: "text" }, { defaultValue: "", key: "industry", label: "Industry / Niche", required: true, type: "text" }, { defaultValue: "", key: "objective", label: "Campaign Objective", required: true, type: "text" }, { defaultValue: "", key: "sourceHeadline", label: "Source Headline", required: false, type: "text" }, { defaultValue: "", key: "sourceBody", label: "Source Body", required: false, type: "text" }, { defaultValue: "", key: "sourceCta", label: "Source CTA", required: false, type: "text" }], nodes: [{ data: { config: { inputName: "brandName", inputType: "text", required: true }, label: "Brand Name" }, id: "workflow-input-brand-name", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "industry", inputType: "text", required: true }, label: "Niche" }, id: "workflow-input-industry", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { inputName: "objective", inputType: "text", required: true }, label: "Objective" }, id: "workflow-input-objective", position: { x: 0, y: 320 }, type: "workflowInput" }, { data: { config: { actionId: "promptConstructor", parameters: { template: "Analyze the source ad angle. Preserve the conversion mechanics, simplify the promise, adapt the offer to {{brandName}}, and rewrite it for a {{industry}} audience with a {{objective}} objective. Use the source signals as inspiration, not as copy.", variables: {} } }, inputVariableKeys: [], label: "Pattern Extraction" }, id: "ai-prompt-constructor-ad-pattern", position: { x: 320, y: 180 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "adPack" } }, inputVariableKeys: [], label: "Ad Pack Output" }, id: "workflow-output-ad-pack", position: { x: 720, y: 120 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "launchPrep" } }, inputVariableKeys: [], label: "Launch Prep Output" }, id: "workflow-output-launch-prep", position: { x: 720, y: 280 }, type: "genfeedAction" }] },
60362
+ { key: "avatar-ugc-heygen", label: "Avatar UGC (HeyGen)", category: "generation", description: "Generate a talking-head avatar video with saved identity defaults or runtime photo/audio overrides", edges: [{ id: "edge-script-avatar", source: "workflow-input-script", sourceHandle: "value", target: "ai-avatar-video", targetHandle: "script" }, { id: "edge-photo-avatar", source: "workflow-input-photo-url", sourceHandle: "value", target: "ai-avatar-video", targetHandle: "photoUrl" }, { id: "edge-cloned-voice-avatar", source: "workflow-input-cloned-voice-id", sourceHandle: "value", target: "ai-avatar-video", targetHandle: "clonedVoiceId" }, { id: "edge-audio-avatar", source: "workflow-input-audio-url", sourceHandle: "value", target: "ai-avatar-video", targetHandle: "audioUrl" }, { id: "edge-avatar-output", source: "ai-avatar-video", sourceHandle: "video", target: "workflow-output-video", targetHandle: "input" }], icon: "avatar", inputVariables: [{ key: "script", label: "Script", required: true, type: "text" }, { key: "photoUrl", label: "Photo URL", required: false, type: "image" }, { key: "clonedVoiceId", label: "Cloned Voice ID", required: false, type: "text" }, { key: "audioUrl", label: "Audio URL", required: false, type: "audio" }], nodes: [{ data: { config: { inputName: "script", inputType: "text", required: true }, label: "Script" }, id: "workflow-input-script", position: { x: 0, y: 0 }, type: "workflowInput" }, { data: { config: { inputName: "photoUrl", inputType: "image", required: false }, label: "Photo URL" }, id: "workflow-input-photo-url", position: { x: 0, y: 150 }, type: "workflowInput" }, { data: { config: { inputName: "clonedVoiceId", inputType: "text", required: false }, label: "Cloned Voice ID" }, id: "workflow-input-cloned-voice-id", position: { x: 0, y: 300 }, type: "workflowInput" }, { data: { config: { inputName: "audioUrl", inputType: "audio", required: false }, label: "Audio URL" }, id: "workflow-input-audio-url", position: { x: 0, y: 450 }, type: "workflowInput" }, { data: { config: { actionId: "aiAvatarVideo", parameters: { aspectRatio: "9:16", provider: "heygen", useIdentityDefaults: true } }, inputVariableKeys: [], label: "Avatar UGC Video" }, id: "ai-avatar-video", position: { x: 320, y: 180 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "video" } }, inputVariableKeys: [], label: "Video" }, id: "workflow-output-video", position: { x: 620, y: 180 }, type: "genfeedAction" }] },
60363
+ { key: "avatar-ugc-x-landscape-heygen", label: "Avatar UGC for X (HeyGen)", category: "generation", description: "Generate a landscape talking-head avatar video for X with burned captions and background music", edges: [{ id: "edge-script-avatar", source: "workflow-input-script", sourceHandle: "value", target: "ai-avatar-video", targetHandle: "script" }, { id: "edge-photo-avatar", source: "workflow-input-photo-url", sourceHandle: "value", target: "ai-avatar-video", targetHandle: "photoUrl" }, { id: "edge-cloned-voice-avatar", source: "workflow-input-cloned-voice-id", sourceHandle: "value", target: "ai-avatar-video", targetHandle: "clonedVoiceId" }, { id: "edge-audio-avatar", source: "workflow-input-audio-url", sourceHandle: "value", target: "ai-avatar-video", targetHandle: "audioUrl" }, { id: "edge-avatar-captions", source: "ai-avatar-video", sourceHandle: "video", target: "effect-captions", targetHandle: "video" }, { id: "edge-captioned-overlay", source: "effect-captions", sourceHandle: "videoUrl", target: "sound-overlay", targetHandle: "videoUrl" }, { id: "edge-music-overlay", source: "music-source", sourceHandle: "musicUrl", target: "sound-overlay", targetHandle: "soundUrl" }, { id: "edge-overlay-output", source: "sound-overlay", sourceHandle: "videoUrl", target: "workflow-output-video", targetHandle: "input" }], icon: "avatar", inputVariables: [{ key: "script", label: "Script", required: true, type: "text" }, { key: "photoUrl", label: "Photo URL", required: false, type: "image" }, { key: "clonedVoiceId", label: "Cloned Voice ID", required: false, type: "text" }, { key: "audioUrl", label: "Audio URL", required: false, type: "audio" }], nodes: [{ data: { config: { inputName: "script", inputType: "text", required: true }, label: "Script" }, id: "workflow-input-script", position: { x: 0, y: 0 }, type: "workflowInput" }, { data: { config: { inputName: "photoUrl", inputType: "image", required: false }, label: "Photo URL" }, id: "workflow-input-photo-url", position: { x: 0, y: 140 }, type: "workflowInput" }, { data: { config: { inputName: "clonedVoiceId", inputType: "text", required: false }, label: "Cloned Voice ID" }, id: "workflow-input-cloned-voice-id", position: { x: 0, y: 280 }, type: "workflowInput" }, { data: { config: { inputName: "audioUrl", inputType: "audio", required: false }, label: "Audio URL" }, id: "workflow-input-audio-url", position: { x: 0, y: 420 }, type: "workflowInput" }, { data: { config: { actionId: "aiAvatarVideo", parameters: { aspectRatio: "16:9", provider: "heygen", useIdentityDefaults: true } }, inputVariableKeys: [], label: "Avatar UGC Video" }, id: "ai-avatar-video", position: { x: 320, y: 180 }, type: "genfeedAction" }, { data: { config: { actionId: "effect-captions", parameters: { fontColor: "#FFFFFF", fontSize: 48, position: "bottom", style: "dynamic" } }, inputVariableKeys: [], label: "Add Captions" }, id: "effect-captions", position: { x: 620, y: 180 }, type: "genfeedAction" }, { data: { config: { actionId: "musicSource", parameters: { libraryCategory: "cinematic", libraryMood: "uplifting", sourceType: "library" } }, inputVariableKeys: [], label: "Music Source" }, id: "music-source", position: { x: 620, y: 360 }, type: "genfeedAction" }, { data: { config: { actionId: "soundOverlay", parameters: { audioVolume: 30, fadeIn: 0, fadeOut: 0, mixMode: "background", videoVolume: 100 } }, inputVariableKeys: [], label: "Sound Overlay" }, id: "sound-overlay", position: { x: 940, y: 220 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "video" } }, inputVariableKeys: [], label: "Video" }, id: "workflow-output-video", position: { x: 1240, y: 220 }, type: "genfeedAction" }] },
60364
+ { key: "compose-video-scenes", label: "Compose Video Scenes", category: "generation", icon: "film", description: "Assemble generated Library clips in order, then replace their audio with a selected speech or soundtrack asset. Reuse the clips while changing audio or scene order.", inputVariables: [{ key: "inputVideos", label: "Ordered Library video URLs", type: "json", required: true }, { key: "soundtrack", label: "Speech or soundtrack asset", type: "audio", required: true }, { key: "brandId", label: "Brand", type: "text", required: true }], nodes: [{ id: "inputVideos", type: "workflowInput", position: { x: 0, y: 0 }, data: { label: "Ordered Library scenes", config: { inputName: "inputVideos", inputType: "json", required: true } } }, { data: { config: { actionId: "videoStitch", parameters: { transitionType: "cut", transitionDuration: 0 } }, inputVariableKeys: ["brandId"], label: "Assemble ordered scenes" }, id: "stitch", position: { x: 320, y: 0 }, type: "genfeedAction" }, { id: "soundtrack", type: "workflowInput", position: { x: 0, y: 240 }, data: { label: "Replacement soundtrack", config: { inputName: "soundtrack", inputType: "audio", required: true } } }, { data: { config: { actionId: "soundOverlay", parameters: { mixMode: "replace", audioVolume: 100, videoVolume: 0 } }, inputVariableKeys: ["brandId"], label: "Replace clip soundtracks" }, id: "mix", position: { x: 650, y: 0 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "video" } }, inputVariableKeys: [], label: "Finished video" }, id: "output", position: { x: 1300, y: 0 }, type: "genfeedAction" }], edges: [{ id: "inputVideos-undefined-stitch-videos", source: "inputVideos", target: "stitch", targetHandle: "videos" }, { id: "stitch-videoUrl-mix-videoUrl", source: "stitch", sourceHandle: "videoUrl", target: "mix", targetHandle: "videoUrl" }, { id: "soundtrack-undefined-mix-soundUrl", source: "soundtrack", target: "mix", targetHandle: "soundUrl" }, { id: "mix-videoUrl-output-input", source: "mix", sourceHandle: "videoUrl", target: "output", targetHandle: "input" }] },
60365
+ { key: "content-loop", label: "Content Loop", category: "content", description: "Closed-loop content automation: read analytics → discover trends → generate on-brand content → publish. Repeats on schedule.", edges: [{ id: "e-feedback-trend", source: "analytics-feedback", sourceHandle: "topTopics", target: "trend-trigger", targetHandle: "keywords" }, { id: "e-feedback-platform", source: "analytics-feedback", sourceHandle: "bestPlatform", target: "trend-trigger", targetHandle: "platform" }, { id: "e-feedback-hooks", source: "analytics-feedback", sourceHandle: "topHooks", target: "prompt-constructor", targetHandle: "hooks" }, { id: "e-feedback-avoid", source: "analytics-feedback", sourceHandle: "worstTopics", target: "prompt-constructor", targetHandle: "avoid" }, { id: "e-feedback-schedule", source: "analytics-feedback", sourceHandle: "bestPostingTimes", target: "publish", targetHandle: "schedule" }, { id: "e-trend-prompt", source: "trend-trigger", sourceHandle: "topic", target: "prompt-constructor", targetHandle: "topic" }, { id: "e-brand-prompt", source: "brand-context", sourceHandle: "voice", target: "prompt-constructor", targetHandle: "brandVoice" }, { id: "e-prompt-gen", source: "prompt-constructor", target: "text-gen", targetHandle: "prompt" }, { id: "e-brand-publish", source: "brand-context", sourceHandle: "brandId", target: "publish", targetHandle: "brand" }, { id: "e-gen-publish", source: "text-gen", sourceHandle: "text", target: "publish", targetHandle: "caption" }], icon: "repeat", inputVariables: [{ defaultValue: "tiktok", key: "platform", label: "Platform", required: true, type: "select", validation: { options: ["tiktok", "instagram", "twitter", "youtube", "linkedin", "threads", "facebook"] } }, { defaultValue: 70, key: "minViralScore", label: "Min Viral Score", required: false, type: "number", validation: { max: 100, min: 0 } }], nodes: [{ data: { config: { actionId: "analyticsFeedback", parameters: { topN: 5, worstN: 3 } }, inputVariableKeys: [], label: "Analytics Feedback" }, id: "analytics-feedback", position: { x: 0, y: 0 }, type: "genfeedAction" }, { data: { config: { actionId: "brandContext", parameters: {} }, inputVariableKeys: [], label: "Brand Context" }, id: "brand-context", position: { x: 0, y: 200 }, type: "genfeedAction" }, { data: { config: { actionId: "trendTrigger", parameters: { checkFrequency: "6hr", minViralScore: 70, platform: "tiktok", trendType: "hashtag" } }, inputVariableKeys: ["platform", "minViralScore"], label: "Trend Trigger" }, id: "trend-trigger", position: { x: 400, y: 0 }, type: "genfeedAction" }, { data: { config: { actionId: "promptConstructor", parameters: { includeHashtags: true, maxLength: 2200, template: `Write a {{tone}} social caption about {{topic}}.
60366
+
60367
+ Brand voice:
60368
+ {{brandVoice}}
60369
+
60370
+ Keep it under {{maxLength}} characters.`, tone: "brand-voice" } }, inputVariableKeys: [], label: "Prompt Constructor" }, id: "prompt-constructor", position: { x: 800, y: 100 }, type: "genfeedAction" }, { data: { config: { actionId: "llm", parameters: { maxTokens: 1024, model: "openai/gpt-6-luna", temperature: 0.8 } }, inputVariableKeys: [], label: "Generate Content" }, id: "text-gen", position: { x: 1200, y: 100 }, type: "genfeedAction" }, { data: { config: { actionId: "publish", parameters: { platforms: ["tiktok"], schedule: { type: "immediate" } } }, inputVariableKeys: [], label: "Publish" }, id: "publish", position: { x: 1600, y: 100 }, type: "genfeedAction" }] },
60371
+ { key: "daily-image-generation", label: "Daily Image Generation", category: "generation", description: "Generate AI images on a daily schedule", icon: "image", nodes: [{ id: "generate-image", type: "genfeedAction", position: { x: 0, y: 0 }, data: { label: "Generate AI Image", config: { actionId: "imageGen", parameters: { height: 1024, model: "imagen4", prompt: "${prompt}", quality: "high", style: "photorealistic", width: 1024 } } } }], edges: [] },
60372
+ { key: "daily-trend-loop", label: "Daily Trend Loop", category: "routines", description: "Daily trend brief, review gate, and digest handoff for choosing what to create next.", icon: "repeat", inputVariables: [{ defaultValue: ["tiktok", "instagram", "youtube", "twitter"], description: "Social platforms to scan for trend candidates.", key: "platforms", label: "Platforms", required: true, type: "select" }, { defaultValue: 70, description: "Minimum viral score for trends included in the daily brief.", key: "minViralScore", label: "Minimum Viral Score", required: false, type: "number" }, { defaultValue: 5, description: "Maximum number of trend candidates included in the brief.", key: "topN", label: "Trend Count", required: false, type: "number" }], isScheduleEnabled: true, nodes: [{ data: { config: { actionId: "trendDigest", parameters: { minViralScore: 70, platforms: ["tiktok", "instagram", "youtube", "twitter"], topN: 5 } }, inputVariableKeys: [], label: "Assemble Daily Trend Brief" }, id: "trend-digest", position: { x: 0, y: 120 }, type: "genfeedAction" }, { data: { config: { autoApproveIfNoResponse: false, notifyChannels: ["task-inbox"], requireApproval: true, reviewState: "pending_approval", timeoutHours: 24 }, label: "Review Trend Brief" }, id: "review-trend-brief", position: { x: 360, y: 120 }, type: "reviewGate" }, { data: { config: { actionId: "sendEmail", parameters: {} }, inputVariableKeys: [], label: "Email Approved Digest" }, id: "send-approved-digest", position: { x: 720, y: 120 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "trendBrief" } }, inputVariableKeys: [], label: "Trend Brief Output" }, id: "workflow-output-trend-brief", position: { x: 1080, y: 120 }, type: "genfeedAction" }], edges: [{ id: "edge-trend-html-to-review", source: "trend-digest", sourceHandle: "html", target: "review-trend-brief", targetHandle: "caption" }, { id: "edge-digest-to", source: "trend-digest", sourceHandle: "to", target: "send-approved-digest", targetHandle: "to" }, { id: "edge-digest-subject", source: "trend-digest", sourceHandle: "subject", target: "send-approved-digest", targetHandle: "subject" }, { id: "edge-review-html-to-email", source: "review-trend-brief", sourceHandle: "caption", target: "send-approved-digest", targetHandle: "html" }, { id: "edge-review-output", source: "review-trend-brief", sourceHandle: "caption", target: "workflow-output-trend-brief", targetHandle: "value" }], routine: { cadence: "daily", inputContract: [{ defaultValue: ["tiktok", "instagram", "youtube", "twitter"], description: "Social platforms to scan for trend candidates.", key: "platforms", label: "Platforms", required: true, type: "select" }, { defaultValue: 70, description: "Minimum viral score for trends included in the daily brief.", key: "minViralScore", label: "Minimum Viral Score", required: false, type: "number" }, { defaultValue: 5, description: "Maximum number of trend candidates included in the brief.", key: "topN", label: "Trend Count", required: false, type: "number" }], kind: "productized-daily-routine", outputDestinations: [{ key: "trendBrief", label: "Approved trend brief", required: true, type: "workflow_output" }, { key: "emailDigest", label: "Email digest to owner", required: true, type: "email" }, { key: "reviewTask", label: "Trend brief review task", required: true, type: "task" }], parentIssue: 224, recommendedSkills: ["content-strategist", "content-atomizer", "content-reviewer"], requiredSkills: ["content-strategist", "content-reviewer"], reviewDefaults: { autoApproveIfNoResponse: false, notifyChannels: ["task-inbox"], requireApproval: true, reviewState: "pending_approval", timeoutHours: 24 }, sourceIssue: 976, trackingTasks: [{ description: "Review the generated trend brief and choose the trend to turn into content.", key: "review-trend-brief", outputType: "post", priority: "medium", reviewState: "pending_approval", status: "in_review", title: "Review daily trend brief" }, { description: "Create a content task from the selected trend and preferred platform.", key: "create-from-trend", outputType: "post", priority: "medium", reviewState: "pending_approval", status: "todo", title: "Create from selected trend" }], version: 1 }, schedule: "0 8 * * *", timezone: "UTC" },
60373
+ { key: "floor-plan-interior-preview", label: "Floor Plan Interior Preview", category: "real-estate", description: "Create a layout-faithful AI preview from a floor plan to help real estate teams visualize the finished interior, not to provide an architectural guarantee", edges: [{ id: "edge-floor-plan-hero", source: "workflow-input-floor-plan-image", sourceHandle: "value", target: "ai-generate-image-hero-wide", targetHandle: "image" }, { id: "edge-floor-plan-alt", source: "workflow-input-floor-plan-image", sourceHandle: "value", target: "ai-generate-image-alt-angle", targetHandle: "image" }, { id: "edge-floor-plan-detail", source: "workflow-input-floor-plan-image", sourceHandle: "value", target: "ai-generate-image-detail-angle", targetHandle: "image" }, { id: "edge-property-type-floor-plan-prompt", source: "workflow-input-property-type", sourceHandle: "value", target: "ai-prompt-constructor-floor-plan", targetHandle: "propertyType" }, { id: "edge-target-space-floor-plan-prompt", source: "workflow-input-target-space", sourceHandle: "value", target: "ai-prompt-constructor-floor-plan", targetHandle: "targetSpace" }, { id: "edge-style-preset-floor-plan-prompt", source: "workflow-input-floor-plan-style-preset", sourceHandle: "value", target: "ai-prompt-constructor-floor-plan", targetHandle: "stylePreset" }, { id: "edge-floor-plan-prompt-hero", source: "ai-prompt-constructor-floor-plan", sourceHandle: "prompt", target: "ai-generate-image-hero-wide", targetHandle: "prompt" }, { id: "edge-floor-plan-prompt-alt", source: "ai-prompt-constructor-floor-plan", sourceHandle: "prompt", target: "ai-generate-image-alt-angle", targetHandle: "prompt" }, { id: "edge-floor-plan-prompt-detail", source: "ai-prompt-constructor-floor-plan", sourceHandle: "prompt", target: "ai-generate-image-detail-angle", targetHandle: "prompt" }, { id: "edge-floor-plan-hero-output", source: "ai-generate-image-hero-wide", sourceHandle: "image", target: "workflow-output-hero-wide", targetHandle: "value" }, { id: "edge-floor-plan-alt-output", source: "ai-generate-image-alt-angle", sourceHandle: "image", target: "workflow-output-alt-angle", targetHandle: "value" }, { id: "edge-floor-plan-detail-output", source: "ai-generate-image-detail-angle", sourceHandle: "image", target: "workflow-output-detail-angle", targetHandle: "value" }], icon: "blueprint", inputVariables: [{ key: "floorPlanImage", label: "Floor Plan Image", required: true, type: "image" }, { key: "propertyType", label: "Property Type", required: true, type: "select", validation: { options: ["apartment", "studio", "townhouse", "villa", "office"] } }, { key: "targetSpace", label: "Target Space", required: true, type: "select", validation: { options: ["living area", "primary bedroom", "kitchen", "bathroom"] } }, { key: "stylePreset", label: "Style Preset", required: true, type: "select", validation: { options: ["modern natural", "warm contemporary", "minimal luxury", "scandinavian calm"] } }], nodes: [{ data: { config: { inputName: "floorPlanImage", inputType: "image", required: true }, label: "Floor Plan Image" }, id: "workflow-input-floor-plan-image", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "propertyType", inputType: "text", required: true }, label: "Property Type" }, id: "workflow-input-property-type", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { inputName: "targetSpace", inputType: "text", required: true }, label: "Target Space" }, id: "workflow-input-target-space", position: { x: 0, y: 320 }, type: "workflowInput" }, { data: { config: { inputName: "stylePreset", inputType: "text", required: true }, label: "Style Preset" }, id: "workflow-input-floor-plan-style-preset", position: { x: 0, y: 460 }, type: "workflowInput" }, { data: { config: { actionId: "promptConstructor", parameters: { template: "Create a layout-faithful interior visualization for a {{propertyType}} {{targetSpace}} in a {{stylePreset}} style using the uploaded floor plan as the structural guide. Preserve room adjacency, circulation, opening placement, and overall proportions as closely as possible. Show a believable real-estate marketing visualization, not an architectural guarantee.", variables: {} } }, inputVariableKeys: [], label: "Floor Plan Prompt" }, id: "ai-prompt-constructor-floor-plan", position: { x: 320, y: 250 }, type: "genfeedAction" }, { data: { config: { actionId: "imageGen", parameters: { model: "black-forest-labs/flux-2-pro", negativePrompt: "impossible geometry, extra rooms, moved windows, moved doors, fantasy architecture, surreal structure, isometric blueprint overlay, warped perspective", style: "hero wide shot, bright and marketable interior reveal" } }, inputVariableKeys: [], label: "Hero Wide Preview" }, id: "ai-generate-image-hero-wide", position: { x: 700, y: 80 }, type: "genfeedAction" }, { data: { config: { actionId: "imageGen", parameters: { model: "black-forest-labs/flux-2-pro", negativePrompt: "impossible geometry, extra rooms, moved windows, moved doors, fantasy architecture, surreal structure, warped perspective", style: "alternate angle that still respects the inferred plan layout" } }, inputVariableKeys: [], label: "Alternate Angle Preview" }, id: "ai-generate-image-alt-angle", position: { x: 700, y: 280 }, type: "genfeedAction" }, { data: { config: { actionId: "imageGen", parameters: { model: "black-forest-labs/flux-2-pro", negativePrompt: "impossible geometry, extra rooms, moved windows, moved doors, fantasy architecture, surreal structure, warped perspective", style: "finish and detail angle focused on materials and real-estate polish" } }, inputVariableKeys: [], label: "Finish Detail Preview" }, id: "ai-generate-image-detail-angle", position: { x: 700, y: 480 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "heroWide" } }, inputVariableKeys: [], label: "Hero Wide Output" }, id: "workflow-output-hero-wide", position: { x: 1040, y: 80 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "alternateAngle" } }, inputVariableKeys: [], label: "Alternate Angle Output" }, id: "workflow-output-alt-angle", position: { x: 1040, y: 280 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "detailAngle" } }, inputVariableKeys: [], label: "Detail Angle Output" }, id: "workflow-output-detail-angle", position: { x: 1040, y: 480 }, type: "genfeedAction" }] },
60374
+ { key: "founder-editorial-illustration", label: "Founder Editorial Illustration", category: "generation", description: "Generate editorial illustrations aligned to founder-led GTM content with clear visual direction and brand cues", edges: [{ id: "edge-founder-illustration-angle", source: "workflow-input-founder-illustration-angle", sourceHandle: "value", target: "ai-prompt-constructor-founder-illustration", targetHandle: "visualAngle" }, { id: "edge-founder-illustration-style", source: "workflow-input-founder-illustration-style", sourceHandle: "value", target: "ai-prompt-constructor-founder-illustration", targetHandle: "visualStyle" }, { id: "edge-founder-illustration-brand-cues", source: "workflow-input-founder-illustration-brand-cues", sourceHandle: "value", target: "ai-prompt-constructor-founder-illustration", targetHandle: "brandCues" }, { id: "edge-founder-illustration-format", source: "workflow-input-founder-illustration-format", sourceHandle: "value", target: "ai-prompt-constructor-founder-illustration", targetHandle: "platformFormat" }, { id: "edge-founder-illustration-prompt-image", source: "ai-prompt-constructor-founder-illustration", sourceHandle: "prompt", target: "ai-generate-founder-illustration", targetHandle: "prompt" }, { id: "edge-founder-illustration-output", source: "ai-generate-founder-illustration", sourceHandle: "imageUrl", target: "workflow-output-founder-illustration", targetHandle: "value" }], icon: "image", inputVariables: [{ key: "visualAngle", label: "Visual Angle", required: true, type: "text" }, { key: "visualStyle", label: "Visual Style", required: true, type: "text" }, { key: "brandCues", label: "Brand Cues", required: false, type: "text" }, { key: "platformFormat", label: "Platform Format", required: false, type: "text" }], nodes: [{ data: { config: { inputName: "visualAngle", inputType: "text", required: true }, label: "Visual Angle" }, id: "workflow-input-founder-illustration-angle", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "visualStyle", inputType: "text", required: true }, label: "Visual Style" }, id: "workflow-input-founder-illustration-style", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { inputName: "brandCues", inputType: "text", required: false }, label: "Brand Cues" }, id: "workflow-input-founder-illustration-brand-cues", position: { x: 0, y: 320 }, type: "workflowInput" }, { data: { config: { inputName: "platformFormat", inputType: "text", required: false }, label: "Platform Format" }, id: "workflow-input-founder-illustration-format", position: { x: 0, y: 460 }, type: "workflowInput" }, { data: { config: { actionId: "promptConstructor", parameters: { template: "Create an editorial illustration prompt for founder-led GTM content. Visual angle: {{visualAngle}}. Visual style: {{visualStyle}}. Brand cues: {{brandCues}}. Platform format: {{platformFormat}}. The result should feel distinctive, modern, and message-led rather than generic AI art. Keep the composition clear enough for social and newsletter use.", variables: {} } }, inputVariableKeys: [], label: "Founder Illustration Prompt" }, id: "ai-prompt-constructor-founder-illustration", position: { x: 340, y: 250 }, type: "genfeedAction" }, { data: { config: { actionId: "imageGen", parameters: { model: "black-forest-labs/flux-2-pro", negativePrompt: "generic stock art, cluttered composition, irrelevant symbols, cheesy marketing visual, low detail, low contrast", style: "editorial illustration with clear visual hierarchy" } }, inputVariableKeys: [], label: "Generate Editorial Illustration" }, id: "ai-generate-founder-illustration", position: { x: 720, y: 250 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "illustrationDraft" } }, inputVariableKeys: [], label: "Illustration Output" }, id: "workflow-output-founder-illustration", position: { x: 1060, y: 250 }, type: "genfeedAction" }] },
60375
+ { key: "founder-newsletter", label: "Founder Newsletter", category: "generation", description: "Generate a founder-style newsletter draft from a thesis, source notes, and a concrete takeaway", edges: [{ id: "edge-founder-newsletter-topic", source: "workflow-input-founder-newsletter-topic", sourceHandle: "value", target: "ai-prompt-constructor-founder-newsletter", targetHandle: "topic" }, { id: "edge-founder-newsletter-takeaway", source: "workflow-input-founder-newsletter-takeaway", sourceHandle: "value", target: "ai-prompt-constructor-founder-newsletter", targetHandle: "coreTakeaway" }, { id: "edge-founder-newsletter-notes", source: "workflow-input-founder-newsletter-notes", sourceHandle: "value", target: "ai-prompt-constructor-founder-newsletter", targetHandle: "sourceNotes" }, { id: "edge-founder-newsletter-cta", source: "workflow-input-founder-newsletter-cta", sourceHandle: "value", target: "ai-prompt-constructor-founder-newsletter", targetHandle: "cta" }, { id: "edge-founder-newsletter-prompt-llm", source: "ai-prompt-constructor-founder-newsletter", sourceHandle: "prompt", target: "ai-generate-founder-newsletter", targetHandle: "prompt" }, { id: "edge-founder-newsletter-output", source: "ai-generate-founder-newsletter", sourceHandle: "text", target: "workflow-output-founder-newsletter", targetHandle: "value" }], icon: "newsletter", inputVariables: [{ key: "topic", label: "Topic", required: true, type: "text" }, { key: "coreTakeaway", label: "Core Takeaway", required: true, type: "text" }, { key: "sourceNotes", label: "Source Notes", required: false, type: "text" }, { key: "cta", label: "CTA", required: false, type: "text" }], nodes: [{ data: { config: { inputName: "topic", inputType: "text", required: true }, label: "Topic" }, id: "workflow-input-founder-newsletter-topic", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "coreTakeaway", inputType: "text", required: true }, label: "Core Takeaway" }, id: "workflow-input-founder-newsletter-takeaway", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { inputName: "sourceNotes", inputType: "text", required: false }, label: "Source Notes" }, id: "workflow-input-founder-newsletter-notes", position: { x: 0, y: 320 }, type: "workflowInput" }, { data: { config: { inputName: "cta", inputType: "text", required: false }, label: "CTA" }, id: "workflow-input-founder-newsletter-cta", position: { x: 0, y: 460 }, type: "workflowInput" }, { data: { config: { actionId: "promptConstructor", parameters: { template: "Write a founder-led newsletter draft for Genfeed. Topic: {{topic}}. Core takeaway: {{coreTakeaway}}. Source notes: {{sourceNotes}}. CTA: {{cta}}. Produce a concise but high-signal newsletter with a strong opening, a clear point of view, concrete observations, and a close that invites response or action. Do not sound like generic marketing automation copy.", variables: {} } }, inputVariableKeys: [], label: "Founder Newsletter Prompt" }, id: "ai-prompt-constructor-founder-newsletter", position: { x: 340, y: 250 }, type: "genfeedAction" }, { data: { config: { actionId: "llm", parameters: { model: "openai/gpt-6-luna", outputFormat: "text", temperature: 0.4 } }, inputVariableKeys: [], label: "Generate Newsletter Draft" }, id: "ai-generate-founder-newsletter", position: { x: 720, y: 250 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "newsletterDraft" } }, inputVariableKeys: [], label: "Newsletter Draft Output" }, id: "workflow-output-founder-newsletter", position: { x: 1060, y: 250 }, type: "genfeedAction" }] },
60376
+ { key: "founder-x-post", label: "Founder X Post", category: "generation", description: "Generate founder-led X posts with sharp hooks, concrete proof, and a clear editorial angle before review", edges: [{ id: "edge-founder-x-post-topic", source: "workflow-input-founder-post-topic", sourceHandle: "value", target: "ai-prompt-constructor-founder-x-post", targetHandle: "topic" }, { id: "edge-founder-x-post-angle", source: "workflow-input-founder-post-angle", sourceHandle: "value", target: "ai-prompt-constructor-founder-x-post", targetHandle: "angle" }, { id: "edge-founder-x-post-proof", source: "workflow-input-founder-post-proof", sourceHandle: "value", target: "ai-prompt-constructor-founder-x-post", targetHandle: "proofPoint" }, { id: "edge-founder-x-post-cta", source: "workflow-input-founder-post-cta", sourceHandle: "value", target: "ai-prompt-constructor-founder-x-post", targetHandle: "cta" }, { id: "edge-founder-x-post-prompt-llm", source: "ai-prompt-constructor-founder-x-post", sourceHandle: "prompt", target: "ai-generate-founder-x-post", targetHandle: "prompt" }, { id: "edge-founder-x-post-output", source: "ai-generate-founder-x-post", sourceHandle: "text", target: "workflow-output-founder-x-post", targetHandle: "value" }], icon: "twitter", inputVariables: [{ key: "topic", label: "Topic", required: true, type: "text" }, { key: "angle", label: "Editorial Angle", required: true, type: "text" }, { key: "proofPoint", label: "Proof Point", required: false, type: "text" }, { key: "cta", label: "CTA", required: false, type: "text" }], nodes: [{ data: { config: { inputName: "topic", inputType: "text", required: true }, label: "Topic" }, id: "workflow-input-founder-post-topic", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "angle", inputType: "text", required: true }, label: "Editorial Angle" }, id: "workflow-input-founder-post-angle", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { inputName: "proofPoint", inputType: "text", required: false }, label: "Proof Point" }, id: "workflow-input-founder-post-proof", position: { x: 0, y: 320 }, type: "workflowInput" }, { data: { config: { inputName: "cta", inputType: "text", required: false }, label: "CTA" }, id: "workflow-input-founder-post-cta", position: { x: 0, y: 460 }, type: "workflowInput" }, { data: { config: { actionId: "promptConstructor", parameters: { template: "You are writing a founder-led X post for Genfeed. Topic: {{topic}}. Angle: {{angle}}. Proof point: {{proofPoint}}. CTA: {{cta}}. Produce 3 post variants that are sharp, concrete, and anti-fluff. Each variant must open with a strong hook, stay concise, and sound like an opinionated technical founder rather than a generic marketer.", variables: {} } }, inputVariableKeys: [], label: "Founder X Post Prompt" }, id: "ai-prompt-constructor-founder-x-post", position: { x: 340, y: 250 }, type: "genfeedAction" }, { data: { config: { actionId: "llm", parameters: { model: "openai/gpt-6-luna", outputFormat: "text", temperature: 0.5 } }, inputVariableKeys: [], label: "Generate X Post Variants" }, id: "ai-generate-founder-x-post", position: { x: 720, y: 250 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "postDraft" } }, inputVariableKeys: [], label: "Post Draft Output" }, id: "workflow-output-founder-x-post", position: { x: 1060, y: 250 }, type: "genfeedAction" }] },
60377
+ { key: "founder-x-thread", label: "Founder X Thread", category: "generation", description: "Generate founder-led X threads with a strong hook, structured argument, and a CTA that earns attention", edges: [{ id: "edge-founder-thread-topic", source: "workflow-input-founder-thread-topic", sourceHandle: "value", target: "ai-prompt-constructor-founder-x-thread", targetHandle: "topic" }, { id: "edge-founder-thread-thesis", source: "workflow-input-founder-thread-thesis", sourceHandle: "value", target: "ai-prompt-constructor-founder-x-thread", targetHandle: "thesis" }, { id: "edge-founder-thread-proof", source: "workflow-input-founder-thread-proof", sourceHandle: "value", target: "ai-prompt-constructor-founder-x-thread", targetHandle: "proofPoints" }, { id: "edge-founder-thread-cta", source: "workflow-input-founder-thread-cta", sourceHandle: "value", target: "ai-prompt-constructor-founder-x-thread", targetHandle: "cta" }, { id: "edge-founder-thread-prompt-llm", source: "ai-prompt-constructor-founder-x-thread", sourceHandle: "prompt", target: "ai-generate-founder-x-thread", targetHandle: "prompt" }, { id: "edge-founder-thread-output", source: "ai-generate-founder-x-thread", sourceHandle: "text", target: "workflow-output-founder-x-thread", targetHandle: "value" }], icon: "thread", inputVariables: [{ key: "topic", label: "Topic", required: true, type: "text" }, { key: "thesis", label: "Thesis", required: true, type: "text" }, { key: "proofPoints", label: "Proof Points", required: false, type: "text" }, { key: "cta", label: "CTA", required: false, type: "text" }], nodes: [{ data: { config: { inputName: "topic", inputType: "text", required: true }, label: "Topic" }, id: "workflow-input-founder-thread-topic", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "thesis", inputType: "text", required: true }, label: "Thesis" }, id: "workflow-input-founder-thread-thesis", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { inputName: "proofPoints", inputType: "text", required: false }, label: "Proof Points" }, id: "workflow-input-founder-thread-proof", position: { x: 0, y: 320 }, type: "workflowInput" }, { data: { config: { inputName: "cta", inputType: "text", required: false }, label: "CTA" }, id: "workflow-input-founder-thread-cta", position: { x: 0, y: 460 }, type: "workflowInput" }, { data: { config: { actionId: "promptConstructor", parameters: { template: "Write a founder-led X thread for Genfeed. Topic: {{topic}}. Thesis: {{thesis}}. Proof points: {{proofPoints}}. CTA: {{cta}}. Return a thread with a strong opening hook, a tight argument across 6 to 10 posts, and a closing CTA. Avoid generic AI platitudes and keep every post useful or surprising.", variables: {} } }, inputVariableKeys: [], label: "Founder X Thread Prompt" }, id: "ai-prompt-constructor-founder-x-thread", position: { x: 340, y: 250 }, type: "genfeedAction" }, { data: { config: { actionId: "llm", parameters: { model: "openai/gpt-6-luna", outputFormat: "text", temperature: 0.45 } }, inputVariableKeys: [], label: "Generate X Thread" }, id: "ai-generate-founder-x-thread", position: { x: 720, y: 250 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "threadDraft" } }, inputVariableKeys: [], label: "Thread Draft Output" }, id: "workflow-output-founder-x-thread", position: { x: 1060, y: 250 }, type: "genfeedAction" }] },
60378
+ { key: "generate-speaking-scenes", label: "Generate Speaking Scenes", category: "generation", icon: "video", description: "Generate speech for two scripts in the selected language, animate one portrait against each voice track, then assemble the scenes. Duplicate scene nodes for more sections or languages; lock finished scenes when rerunning.", inputVariables: [{ key: "portrait", label: "Library portrait", type: "image", required: true }, { key: "sceneScriptA", label: "First scene script", type: "text", required: true }, { key: "sceneScriptB", label: "Second scene script", type: "text", required: true }, { key: "brandId", label: "Brand", type: "text", required: true }, { key: "voiceId", label: "Speech voice ID", type: "text", required: true }, { key: "targetLanguage", label: "Speech language code", type: "text", required: true }], nodes: [{ id: "portrait", type: "workflowInput", position: { x: 0, y: 0 }, data: { label: "Shared portrait", config: { inputName: "portrait", inputType: "image", required: true } } }, { id: "sceneScriptA", type: "workflowInput", position: { x: 0, y: 160 }, data: { label: "First scene script", config: { inputName: "sceneScriptA", inputType: "text", required: true } } }, { id: "sceneScriptB", type: "workflowInput", position: { x: 0, y: 320 }, data: { label: "Second scene script", config: { inputName: "sceneScriptB", inputType: "text", required: true } } }, { id: "targetLanguage", type: "workflowInput", position: { x: 0, y: 480 }, data: { label: "Speech language", config: { inputName: "targetLanguage", inputType: "text", required: true } } }, { data: { config: { actionId: "textToSpeech", parameters: {} }, inputVariableKeys: ["brandId", "voiceId"], label: "Generate first voice track" }, id: "speechA", position: { x: 250, y: 160 }, type: "genfeedAction" }, { data: { config: { actionId: "textToSpeech", parameters: {} }, inputVariableKeys: ["brandId", "voiceId"], label: "Generate second voice track" }, id: "speechB", position: { x: 250, y: 420 }, type: "genfeedAction" }, { data: { config: { actionId: "lipSync", parameters: { mode: "image", model: "heygen/avatar" } }, inputVariableKeys: ["brandId"], label: "Generate first speaking scene" }, id: "sceneA", position: { x: 350, y: 0 }, type: "genfeedAction" }, { data: { config: { actionId: "lipSync", parameters: { mode: "image", model: "heygen/avatar" } }, inputVariableKeys: ["brandId"], label: "Generate second speaking scene" }, id: "sceneB", position: { x: 350, y: 300 }, type: "genfeedAction" }, { data: { config: { actionId: "videoStitch", parameters: { transitionType: "cut", transitionDuration: 0 } }, inputVariableKeys: ["brandId"], label: "Assemble speaking scenes" }, id: "stitch", position: { x: 700, y: 0 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "video" } }, inputVariableKeys: [], label: "Finished video" }, id: "output", position: { x: 1300, y: 0 }, type: "genfeedAction" }], edges: [{ id: "portrait-undefined-sceneA-image", source: "portrait", target: "sceneA", targetHandle: "image" }, { id: "portrait-undefined-sceneB-image", source: "portrait", target: "sceneB", targetHandle: "image" }, { id: "sceneScriptA-undefined-speechA-text", source: "sceneScriptA", target: "speechA", targetHandle: "text" }, { id: "sceneScriptB-undefined-speechB-text", source: "sceneScriptB", target: "speechB", targetHandle: "text" }, { id: "targetLanguage-undefined-speechA-language", source: "targetLanguage", target: "speechA", targetHandle: "language" }, { id: "targetLanguage-undefined-speechB-language", source: "targetLanguage", target: "speechB", targetHandle: "language" }, { id: "speechA-undefined-sceneA-audio", source: "speechA", target: "sceneA", targetHandle: "audio" }, { id: "speechB-undefined-sceneB-audio", source: "speechB", target: "sceneB", targetHandle: "audio" }, { id: "sceneA-videoUrl-stitch-videos", source: "sceneA", sourceHandle: "videoUrl", target: "stitch", targetHandle: "videos" }, { id: "sceneB-videoUrl-stitch-videos", source: "sceneB", sourceHandle: "videoUrl", target: "stitch", targetHandle: "videos" }, { id: "stitch-videoUrl-output-input", source: "stitch", sourceHandle: "videoUrl", target: "output", targetHandle: "input" }] },
60379
+ { key: "instagram-remix-review", label: "Instagram Remix And Review", category: "social", description: "Generate an original Instagram Reel from abstract public inspiration signals and pause for human review.", edges: [{ id: "edge-instagram-remix-review", source: "generate-instagram-remix", sourceHandle: "video", target: "review-instagram-remix", targetHandle: "media" }], icon: "sparkles", isScheduleEnabled: false, nodes: [{ data: { config: { actionId: "videoGen", parameters: { aspectRatio: "9:16", duration: 8, model: "kling-v2" } }, inputVariableKeys: [], label: "Generate Original Reel" }, id: "generate-instagram-remix", position: { x: 80, y: 120 }, type: "genfeedAction" }, { data: { config: { autoApproveIfNoResponse: false, notifyChannels: ["task-inbox"], requireApproval: true, timeoutHours: 24 }, label: "Review Remix" }, id: "review-instagram-remix", position: { x: 360, y: 120 }, type: "reviewGate" }] },
60380
+ { key: "launch-kit", label: "Launch Kit", category: "launch", description: "Turn a product summary into channel-conform launch copy for Hacker News (Show HN) or Product Hunt, plus a launch-day checklist, held for human review. Generates copy only — it never posts.", icon: "rocket", inputVariables: [{ defaultValue: "", description: "Name of the product or project being launched.", key: "productName", label: "Product Name", required: true, type: "text" }, { defaultValue: "hacker_news", description: "Launch channel: hacker_news or product_hunt.", key: "channel", label: "Channel", required: true, type: "select" }, { defaultValue: "", description: "Plain-language description of what the product does.", key: "description", label: "Description", required: true, type: "text" }], nodes: [{ data: { config: { inputName: "productName", inputType: "text", required: true }, label: "Product Name" }, id: "workflow-input-product-name", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "channel", inputType: "text", required: true }, label: "Channel" }, id: "workflow-input-channel", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { inputName: "description", inputType: "text", required: true }, label: "Description" }, id: "workflow-input-description", position: { x: 0, y: 320 }, type: "workflowInput" }, { data: { config: { actionId: "promptConstructor", parameters: { template: `Create a launch kit for {{productName}} on the {{channel}} channel (hacker_news or product_hunt). What it does: {{description}}.
60381
+
60382
+ Produce channel-conform copy. For hacker_news: a title formatted "Show HN: <name> - <plain factual description>" (max 80 chars, no marketing adjectives, no emoji) and an honest maker first comment. For product_hunt: 3-5 tagline variants (max 60 chars each, benefit-led, no trailing period) and a maker first comment.
60383
+
60384
+ Also produce a launch-day checklist: finalize the copy, schedule the post for the optimal time (Product Hunt 12:01am PT; Show HN a weekday morning ET), reply to every comment within 30 minutes for the first two hours, cross-post to dev.to and owned channels, and thank early supporters.
60385
+
60386
+ Do not post anything anywhere. Return the copy and checklist for human review.`, variables: {} } }, inputVariableKeys: [], label: "Build Launch Prompt" }, id: "prompt-constructor-launch-kit", position: { x: 360, y: 180 }, type: "genfeedAction" }, { data: { config: { actionId: "llm", parameters: { maxTokens: 1400, model: "openai/gpt-6-luna", temperature: 0.8 } }, inputVariableKeys: [], label: "Draft Launch Assets" }, id: "llm-launch-assets", position: { x: 720, y: 180 }, type: "genfeedAction" }, { data: { config: { autoApproveIfNoResponse: false, notifyChannels: ["task-inbox"], requireApproval: true, reviewState: "pending_approval", timeoutHours: 24 }, label: "Review Launch Assets" }, id: "review-launch-assets", position: { x: 1080, y: 180 }, type: "reviewGate" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "launchKit" } }, inputVariableKeys: [], label: "Launch Kit Output" }, id: "workflow-output-launch-kit", position: { x: 1440, y: 180 }, type: "genfeedAction" }], edges: [{ id: "edge-product-name-to-prompt", source: "workflow-input-product-name", sourceHandle: "value", target: "prompt-constructor-launch-kit", targetHandle: "productName" }, { id: "edge-channel-to-prompt", source: "workflow-input-channel", sourceHandle: "value", target: "prompt-constructor-launch-kit", targetHandle: "channel" }, { id: "edge-description-to-prompt", source: "workflow-input-description", sourceHandle: "value", target: "prompt-constructor-launch-kit", targetHandle: "description" }, { id: "edge-prompt-to-llm", source: "prompt-constructor-launch-kit", sourceHandle: "prompt", target: "llm-launch-assets", targetHandle: "prompt" }, { id: "edge-llm-to-review", source: "llm-launch-assets", sourceHandle: "text", target: "review-launch-assets", targetHandle: "caption" }, { id: "edge-review-to-output", source: "review-launch-assets", sourceHandle: "caption", target: "workflow-output-launch-kit", targetHandle: "value" }] },
60387
+ { key: "localize-existing-ad", label: "Localize an Existing Ad", category: "generation", icon: "languages", description: "Reuse a Library ad, translate timed speech, choose a voice, re-sync the mouth, review the separated background, and export. Edit segments or lock unchanged nodes before partial reruns.", inputVariables: [{ key: "sourceVideo", label: "Original Library video", type: "video", required: true }, { key: "brandId", label: "Brand", type: "text", required: true }, { key: "targetLanguage", label: "Target language code", type: "text", required: true, defaultValue: "es" }, { key: "voiceId", label: "Speech voice ID", type: "text", required: true }], nodes: [{ id: "sourceVideo", type: "workflowInput", position: { x: 0, y: 0 }, data: { label: "Original ad", config: { inputName: "sourceVideo", inputType: "video", required: true } } }, { data: { config: { actionId: "localizeSpeech", parameters: { timingToleranceSeconds: 0.75 } }, inputVariableKeys: ["brandId", "targetLanguage", "voiceId"], label: "Translate and fit speech" }, id: "speech", position: { x: 320, y: 0 }, type: "genfeedAction" }, { data: { config: { actionId: "separateDialogue", parameters: {} }, inputVariableKeys: ["brandId"], label: "Separate original dialogue" }, id: "background", position: { x: 320, y: 320 }, type: "genfeedAction" }, { data: { config: { actionId: "lipSync", parameters: { mode: "video", model: "sync/lipsync-2", syncMode: "silence" } }, inputVariableKeys: ["brandId"], label: "Re-sync original performance" }, id: "lips", position: { x: 650, y: 0 }, type: "genfeedAction" }, { id: "review-background", type: "reviewGate", position: { x: 650, y: 320 }, data: { label: "Listen to separated background", config: { requireApproval: true, autoApproveIfNoResponse: false, timeoutHours: 24, notifyChannels: ["task-inbox"] } } }, { data: { config: { actionId: "soundOverlay", parameters: { mixMode: "mix", audioVolume: 100, videoVolume: 100 } }, inputVariableKeys: ["brandId"], label: "Mix approved background with new speech" }, id: "mix", position: { x: 980, y: 0 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "video" } }, inputVariableKeys: [], label: "Finished video" }, id: "output", position: { x: 1300, y: 0 }, type: "genfeedAction" }], edges: [{ id: "sourceVideo-undefined-speech-video", source: "sourceVideo", target: "speech", targetHandle: "video" }, { id: "sourceVideo-undefined-background-video", source: "sourceVideo", target: "background", targetHandle: "video" }, { id: "sourceVideo-undefined-lips-video", source: "sourceVideo", target: "lips", targetHandle: "video" }, { id: "speech-audio-lips-audio", source: "speech", sourceHandle: "audio", target: "lips", targetHandle: "audio" }, { id: "background-audio-review-background-media", source: "background", sourceHandle: "audio", target: "review-background", targetHandle: "media" }, { id: "review-background-media-mix-soundUrl", source: "review-background", sourceHandle: "media", target: "mix", targetHandle: "soundUrl" }, { id: "lips-videoUrl-mix-videoUrl", source: "lips", sourceHandle: "videoUrl", target: "mix", targetHandle: "videoUrl" }, { id: "mix-videoUrl-output-input", source: "mix", sourceHandle: "videoUrl", target: "output", targetHandle: "input" }] },
60388
+ { key: "motivational-quote-image", label: "Daily Motivational Quote Image", category: "generation", description: "Generate a motivational quote image every day", icon: "quote", nodes: [{ id: "generate-quote-article", type: "genfeedAction", position: { x: 0, y: 0 }, data: { label: "Generate Quote", inputVariableKeys: ["brandId"], config: { actionId: "workflow.run-child", parameters: { childWorkflowId: "article.generation", dto: { count: 1, prompt: "Write one original motivational quote", targetWordCount: 2500, tone: "inspirational" } } } } }, { id: "generate-quote-image", type: "genfeedAction", position: { x: 280, y: 0 }, data: { label: "Generate Quote Image", config: { actionId: "imageGen", parameters: { height: 1080, model: "leonardo", prompt: "Beautiful inspirational background with text overlay: ${quote}", style: "artistic", width: 1080 } } } }], edges: [{ id: "generate-quote-article-generate-quote-image", source: "generate-quote-article", target: "generate-quote-image" }] },
60389
+ { key: "multi-platform-resize", label: "Multi-Platform Resize", category: "batch", description: "Reframe one video or image into square, portrait and landscape versions for each social platform", edges: [{ id: "edge-media-reframe-square", source: "workflow-input-media", sourceHandle: "value", target: "reframe-square", targetHandle: "media" }, { id: "edge-reframe-square-output", source: "reframe-square", sourceHandle: "mediaUrl", target: "workflow-output-square", targetHandle: "value" }, { id: "edge-media-reframe-portrait", source: "workflow-input-media", sourceHandle: "value", target: "reframe-portrait", targetHandle: "media" }, { id: "edge-reframe-portrait-output", source: "reframe-portrait", sourceHandle: "mediaUrl", target: "workflow-output-portrait", targetHandle: "value" }, { id: "edge-media-reframe-landscape", source: "workflow-input-media", sourceHandle: "value", target: "reframe-landscape", targetHandle: "media" }, { id: "edge-reframe-landscape-output", source: "reframe-landscape", sourceHandle: "mediaUrl", target: "workflow-output-landscape", targetHandle: "value" }], icon: "resize", inputVariables: [{ description: "Library video or image to reframe for every platform.", key: "media", label: "Source Media", required: true, type: "video" }], nodes: [{ data: { config: { inputName: "media", inputType: "video", required: true }, label: "Source Media" }, id: "workflow-input-media", position: { x: 0, y: 160 }, type: "workflowInput" }, { data: { config: { actionId: "reframe", parameters: { targetAspectRatio: "1:1" } }, inputVariableKeys: [], label: "Square for Instagram" }, id: "reframe-square", position: { x: 320, y: 0 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "square" } }, inputVariableKeys: [], label: "Square Output" }, id: "workflow-output-square", position: { x: 640, y: 0 }, type: "genfeedAction" }, { data: { config: { actionId: "reframe", parameters: { targetAspectRatio: "9:16" } }, inputVariableKeys: [], label: "Portrait for TikTok" }, id: "reframe-portrait", position: { x: 320, y: 160 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "portrait" } }, inputVariableKeys: [], label: "Portrait Output" }, id: "workflow-output-portrait", position: { x: 640, y: 160 }, type: "genfeedAction" }, { data: { config: { actionId: "reframe", parameters: { targetAspectRatio: "16:9" } }, inputVariableKeys: [], label: "Landscape for YouTube and X" }, id: "reframe-landscape", position: { x: 320, y: 320 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "landscape" } }, inputVariableKeys: [], label: "Landscape Output" }, id: "workflow-output-landscape", position: { x: 640, y: 320 }, type: "genfeedAction" }] },
60390
+ { key: "release-loop", label: "Release Loop", category: "routines", description: "Daily launch copy and review loop for turning release notes into approved distribution assets.", icon: "rocket", inputVariables: [{ defaultValue: "", description: "Name of the product, feature, campaign, or release.", key: "releaseName", label: "Release Name", required: true, type: "text" }, { defaultValue: "Product marketers and existing users", description: "Primary audience for launch copy and review.", key: "audience", label: "Audience", required: true, type: "text" }, { defaultValue: "social", description: "Primary distribution lane for the release loop output.", key: "primaryChannel", label: "Primary Channel", required: true, type: "select" }, { defaultValue: "", description: "Launch notes, changelog URL, or internal release brief.", key: "releaseNotes", label: "Release Notes", required: false, type: "text" }], isScheduleEnabled: true, nodes: [{ data: { config: { inputName: "releaseName", inputType: "text", required: true }, label: "Release Name" }, id: "workflow-input-release-name", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "audience", inputType: "text", required: true }, label: "Audience" }, id: "workflow-input-audience", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { inputName: "releaseNotes", inputType: "text", required: false }, label: "Release Notes" }, id: "workflow-input-release-notes", position: { x: 0, y: 320 }, type: "workflowInput" }, { data: { config: { actionId: "promptConstructor", parameters: { template: "Create a daily release loop brief for {{releaseName}}. Audience: {{audience}}. Notes: {{releaseNotes}}. Return: launch angle, social draft, newsletter blurb, review checklist, and next tracking task.", variables: {} } }, inputVariableKeys: [], label: "Build Release Prompt" }, id: "prompt-constructor-release-loop", position: { x: 360, y: 180 }, type: "genfeedAction" }, { data: { config: { actionId: "llm", parameters: { maxTokens: 1400, model: "openai/gpt-6-luna", temperature: 0.7 } }, inputVariableKeys: [], label: "Draft Release Assets" }, id: "llm-release-assets", position: { x: 720, y: 180 }, type: "genfeedAction" }, { data: { config: { autoApproveIfNoResponse: false, notifyChannels: ["task-inbox"], requireApproval: true, reviewState: "pending_approval", timeoutHours: 24 }, label: "Review Release Assets" }, id: "review-release-assets", position: { x: 1080, y: 180 }, type: "reviewGate" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "releaseAssets" } }, inputVariableKeys: [], label: "Release Assets Output" }, id: "workflow-output-release-assets", position: { x: 1440, y: 180 }, type: "genfeedAction" }], edges: [{ id: "edge-release-name-to-prompt", source: "workflow-input-release-name", sourceHandle: "value", target: "prompt-constructor-release-loop", targetHandle: "releaseName" }, { id: "edge-audience-to-prompt", source: "workflow-input-audience", sourceHandle: "value", target: "prompt-constructor-release-loop", targetHandle: "audience" }, { id: "edge-notes-to-prompt", source: "workflow-input-release-notes", sourceHandle: "value", target: "prompt-constructor-release-loop", targetHandle: "releaseNotes" }, { id: "edge-prompt-to-llm", source: "prompt-constructor-release-loop", sourceHandle: "prompt", target: "llm-release-assets", targetHandle: "prompt" }, { id: "edge-llm-to-review", source: "llm-release-assets", sourceHandle: "text", target: "review-release-assets", targetHandle: "caption" }, { id: "edge-review-to-output", source: "review-release-assets", sourceHandle: "caption", target: "workflow-output-release-assets", targetHandle: "value" }], routine: { cadence: "daily", inputContract: [{ defaultValue: "", description: "Name of the product, feature, campaign, or release.", key: "releaseName", label: "Release Name", required: true, type: "text" }, { defaultValue: "Product marketers and existing users", description: "Primary audience for launch copy and review.", key: "audience", label: "Audience", required: true, type: "text" }, { defaultValue: "social", description: "Primary distribution lane for the release loop output.", key: "primaryChannel", label: "Primary Channel", required: true, type: "select" }, { defaultValue: "", description: "Launch notes, changelog URL, or internal release brief.", key: "releaseNotes", label: "Release Notes", required: false, type: "text" }], kind: "productized-daily-routine", outputDestinations: [{ key: "releaseAssets", label: "Approved release asset pack", required: true, type: "workflow_output" }, { key: "reviewTask", label: "Release asset review task", required: true, type: "task" }, { key: "socialPublish", label: "Approved social publishing destination", required: false, type: "social_publish" }], parentIssue: 224, recommendedSkills: ["newsletter-creator", "x-post", "linkedin-post", "content-seo-optimizer"], requiredSkills: ["content-strategist", "content-reviewer", "ad-copy-creator"], reviewDefaults: { autoApproveIfNoResponse: false, notifyChannels: ["task-inbox"], requireApproval: true, reviewState: "pending_approval", timeoutHours: 24 }, sourceIssue: 976, trackingTasks: [{ description: "Review the daily release asset pack before it is distributed.", key: "review-release-assets", outputType: "post", priority: "medium", reviewState: "pending_approval", status: "in_review", title: "Review release assets" }, { description: "Publish or schedule the approved release copy on the selected channel.", key: "publish-approved-release", outputType: "post", priority: "medium", reviewState: "pending_approval", status: "todo", title: "Publish approved release copy" }], version: 1 }, schedule: "0 9 * * *", timezone: "UTC" },
60391
+ { key: "scheduled-video-creation", label: "Scheduled Video Creation", category: "generation", description: "Generate AI videos on a schedule", icon: "video", nodes: [{ id: "generate-video", type: "genfeedAction", position: { x: 0, y: 0 }, data: { label: "Generate AI Video", config: { actionId: "videoGen", parameters: { duration: 5, fps: 30, model: "klingai", prompt: "${prompt}", resolution: "1080p", style: "cinematic" } } } }], edges: [] },
60392
+ { key: "social-media-video-series", label: "Social Media Video Series", category: "generation", description: "Generate short-form video content for social media", edges: [{ id: "edge-prompt-video", source: "workflow-input-prompt", sourceHandle: "value", target: "generate-video-content", targetHandle: "prompt" }, { id: "edge-video-captions", source: "generate-video-content", sourceHandle: "videoUrl", target: "add-captions", targetHandle: "video" }, { id: "edge-captions-output", source: "add-captions", sourceHandle: "videoUrl", target: "workflow-output-video", targetHandle: "value" }], icon: "social", inputVariables: [{ description: "What the short-form video should show.", key: "prompt", label: "Video Prompt", required: true, type: "text" }], nodes: [{ data: { config: { inputName: "prompt", inputType: "text", required: true }, label: "Video Prompt" }, id: "workflow-input-prompt", position: { x: 0, y: 0 }, type: "workflowInput" }, { data: { config: { actionId: "videoGen", parameters: { duration: 15, height: 1920, model: "kwaivgi/kling-v3-video", width: 1080 } }, inputVariableKeys: [], label: "Generate Short Video" }, id: "generate-video-content", position: { x: 280, y: 0 }, type: "genfeedAction" }, { data: { config: { actionId: "effect-captions", parameters: { fontSize: 64, position: "center", style: "dynamic" } }, inputVariableKeys: [], label: "Add Captions" }, id: "add-captions", position: { x: 560, y: 0 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "video" } }, inputVariableKeys: [], label: "Video" }, id: "workflow-output-video", position: { x: 840, y: 0 }, type: "genfeedAction" }] },
60393
+ { key: "virtual-staging-rescue", label: "Virtual Staging Rescue", category: "real-estate", description: "Turn a rough apartment photo into realistic, listing-ready staged variants while preserving the actual room layout", edges: [{ id: "edge-source-photo-cleanup", source: "workflow-input-source-photo", sourceHandle: "value", target: "ai-generate-image-cleanup", targetHandle: "image" }, { id: "edge-source-photo-premium", source: "workflow-input-source-photo", sourceHandle: "value", target: "ai-generate-image-premium", targetHandle: "image" }, { id: "edge-room-type-virtual-staging-prompt", source: "workflow-input-room-type", sourceHandle: "value", target: "ai-prompt-constructor-virtual-staging", targetHandle: "roomType" }, { id: "edge-style-preset-virtual-staging-prompt", source: "workflow-input-style-preset", sourceHandle: "value", target: "ai-prompt-constructor-virtual-staging", targetHandle: "stylePreset" }, { id: "edge-listing-tier-virtual-staging-prompt", source: "workflow-input-listing-tier", sourceHandle: "value", target: "ai-prompt-constructor-virtual-staging", targetHandle: "listingTier" }, { id: "edge-virtual-staging-prompt-cleanup", source: "ai-prompt-constructor-virtual-staging", sourceHandle: "prompt", target: "ai-generate-image-cleanup", targetHandle: "prompt" }, { id: "edge-virtual-staging-prompt-premium", source: "ai-prompt-constructor-virtual-staging", sourceHandle: "prompt", target: "ai-generate-image-premium", targetHandle: "prompt" }, { id: "edge-virtual-staging-cleanup-output", source: "ai-generate-image-cleanup", sourceHandle: "image", target: "workflow-output-listing-ready", targetHandle: "value" }, { id: "edge-virtual-staging-premium-output", source: "ai-generate-image-premium", sourceHandle: "image", target: "workflow-output-premium-staged", targetHandle: "value" }], icon: "home", inputVariables: [{ key: "sourcePhoto", label: "Source Photo", required: true, type: "image" }, { key: "roomType", label: "Room Type", required: true, type: "select", validation: { options: ["living room", "bedroom", "kitchen", "bathroom", "studio"] } }, { key: "stylePreset", label: "Style Preset", required: true, type: "select", validation: { options: ["modern warm", "scandinavian", "minimal contemporary", "soft luxury"] } }, { key: "listingTier", label: "Listing Tier", required: true, type: "select", validation: { options: ["standard", "premium", "luxury"] } }], nodes: [{ data: { config: { inputName: "sourcePhoto", inputType: "image", required: true }, label: "Source Photo" }, id: "workflow-input-source-photo", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "roomType", inputType: "text", required: true }, label: "Room Type" }, id: "workflow-input-room-type", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { inputName: "stylePreset", inputType: "text", required: true }, label: "Style Preset" }, id: "workflow-input-style-preset", position: { x: 0, y: 320 }, type: "workflowInput" }, { data: { config: { inputName: "listingTier", inputType: "text", required: true }, label: "Listing Tier" }, id: "workflow-input-listing-tier", position: { x: 0, y: 460 }, type: "workflowInput" }, { data: { config: { actionId: "promptConstructor", parameters: { template: "Create a photorealistic {{roomType}} listing image in a {{stylePreset}} style for a {{listingTier}} real estate listing. Preserve the exact room layout, walls, windows, doors, built-in fixtures, proportions, and camera viewpoint. Improve only lighting, clutter, furniture, material finish, cleanliness, and overall polish. Keep the result realistic, sale-ready, and believable.", variables: {} } }, inputVariableKeys: [], label: "Staging Prompt" }, id: "ai-prompt-constructor-virtual-staging", position: { x: 320, y: 250 }, type: "genfeedAction" }, { data: { config: { actionId: "imageGen", parameters: { model: "qwen/qwen-image", negativePrompt: "cartoon, fantasy architecture, warped lines, altered windows, altered doors, changed floor plan, extreme fisheye, oversaturated, unrealistic materials", strength: 0.32, style: "sale-ready cleanup with subtle realistic furnishing" } }, inputVariableKeys: [], label: "Listing-Ready Variant" }, id: "ai-generate-image-cleanup", position: { x: 680, y: 140 }, type: "genfeedAction" }, { data: { config: { actionId: "imageGen", parameters: { model: "qwen/qwen-image", negativePrompt: "cartoon, fantasy architecture, warped lines, altered windows, altered doors, changed floor plan, overdesigned luxury set, surreal decor, unrealistic materials", strength: 0.42, style: "premium staged editorial polish while staying realistic" } }, inputVariableKeys: [], label: "Premium Staged Variant" }, id: "ai-generate-image-premium", position: { x: 680, y: 360 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "listingReady" } }, inputVariableKeys: [], label: "Listing-Ready Output" }, id: "workflow-output-listing-ready", position: { x: 1020, y: 140 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "premiumStaged" } }, inputVariableKeys: [], label: "Premium Staged Output" }, id: "workflow-output-premium-staged", position: { x: 1020, y: 360 }, type: "genfeedAction" }] },
60394
+ { key: "weekly-article-batch", label: "Weekly Article Generation", category: "generation", description: "Generate multiple articles weekly", icon: "article", nodes: [{ id: "generate-article", type: "genfeedAction", position: { x: 0, y: 0 }, data: { label: "Generate AI Article", inputVariableKeys: ["brandId"], config: { actionId: "workflow.run-child", parameters: { childWorkflowId: "article.generation", dto: { count: 1, generateHeaderImage: true, keywords: [], prompt: "${topic}", targetWordCount: 4000, tone: "professional" } } } } }], edges: [] },
60395
+ { key: "weekly-brand-ai-content-loop", label: "Weekly Brand AI Content Loop", category: "content", description: "Collect the last 7 days of followed source posts, generate an AI thesis brief, create a newsletter draft, draft an X post, generate an image prompt and image ingredient, then attach the image to the post draft.", icon: "sparkles", inputVariables: [{ description: "Brand to use for source collection and generated drafts.", key: "brandId", label: "Brand ID", required: true, type: "text" }, { defaultValue: "the brand", description: "Human-readable brand label used in prompts.", key: "brandLabel", label: "Brand Label", required: false, type: "text" }, { defaultValue: "", description: "Optional connected platform credential for the social draft.", key: "credentialId", label: "Credential ID", required: false, type: "text" }, { defaultValue: "UTC", key: "timezone", label: "Timezone", required: false, type: "text" }], isScheduleEnabled: false, nodes: [{ data: { config: { actionId: "sourceCorpus", parameters: { brandId: "", days: 7, limit: 50 } }, inputVariableKeys: ["brandId"], label: "Collect Source Posts" }, id: "source-corpus", position: { x: 0, y: 220 }, type: "genfeedAction" }, { data: { config: { actionId: "promptConstructor", parameters: { template: `You are preparing a weekly editorial thesis for a brand writing about AI and AI content generation.
60396
+
60397
+ Use only the collected source posts below as evidence.
60398
+
60399
+ Source posts:
60400
+ {{corpus}}
60401
+
60402
+ Return a structured brief with: 1) the strongest thesis, 2) supporting evidence, 3) contrarian angle, 4) newsletter outline, 5) one social post angle.`, variables: {} } }, inputVariableKeys: [], label: "Build Thesis Prompt" }, id: "prompt-thesis-brief", position: { x: 360, y: 220 }, type: "genfeedAction" }, { data: { config: { actionId: "llm", parameters: { maxTokens: 1800, model: "openai/gpt-6-luna", temperature: 0.75 } }, inputVariableKeys: [], label: "Generate Thesis Brief" }, id: "llm-thesis-brief", position: { x: 720, y: 220 }, type: "genfeedAction" }, { data: { config: { actionId: "newsletterGen", parameters: { brandId: "", brandLabel: "the brand", instructions: "Use the thesis brief as the editorial basis. Produce a review-ready newsletter draft about AI and AI content generation.", prompt: "Weekly AI content generation thesis brief", timezone: "UTC" } }, inputVariableKeys: ["brandId", "brandLabel", "timezone"], label: "Generate Newsletter Draft" }, id: "newsletter-draft", position: { x: 1080, y: 60 }, type: "genfeedAction" }, { data: { config: { actionId: "promptConstructor", parameters: { template: `Turn this weekly thesis brief into one X post for a founder/operator audience.
60403
+
60404
+ Brief:
60405
+ {{brief}}
60406
+
60407
+ Constraints: one post, direct point of view, no hashtags, no thread, under 260 characters.`, variables: {} } }, inputVariableKeys: [], label: "Build X Post Prompt" }, id: "prompt-x-post", position: { x: 1080, y: 380 }, type: "genfeedAction" }, { data: { config: { actionId: "postGen", parameters: { brandId: "", brandLabel: "the brand", credentialId: "", platform: "twitter", prompt: "Draft an X post from the weekly AI thesis brief.", timezone: "UTC" } }, inputVariableKeys: ["brandId", "brandLabel", "credentialId", "timezone"], label: "Generate X Draft" }, id: "x-post-draft", position: { x: 1440, y: 380 }, type: "genfeedAction" }, { data: { config: { actionId: "promptConstructor", parameters: { template: `Create a concise image-generation prompt for this X post. The image should visualize the idea without text overlays, screenshots, logos, or UI.
60408
+
60409
+ X post:
60410
+ {{tweet}}`, variables: {} } }, inputVariableKeys: [], label: "Build Image Prompt" }, id: "prompt-image", position: { x: 1800, y: 380 }, type: "genfeedAction" }, { data: { config: { actionId: "llm", parameters: { maxTokens: 500, model: "openai/gpt-6-luna", temperature: 0.8 } }, inputVariableKeys: [], label: "Generate Image Prompt" }, id: "llm-image-prompt", position: { x: 2160, y: 380 }, type: "genfeedAction" }, { data: { config: { actionId: "imageGen", parameters: { brandId: "", height: 1024, model: "black-forest-labs/flux-2-pro", style: "editorial, clean, high contrast", width: 1024 } }, inputVariableKeys: ["brandId"], label: "Generate Image Ingredient" }, id: "image-ingredient", position: { x: 2520, y: 380 }, type: "genfeedAction" }, { data: { config: { actionId: "attachPostIngredient", parameters: { brandId: "" } }, inputVariableKeys: ["brandId"], label: "Attach Image to X Draft" }, id: "attach-image-to-post", position: { x: 2880, y: 380 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "weeklyBrandContent" } }, inputVariableKeys: [], label: "Weekly Content Output" }, id: "workflow-output-weekly-content", position: { x: 3240, y: 380 }, type: "genfeedAction" }], edges: [{ id: "edge-corpus-to-thesis-prompt", source: "source-corpus", sourceHandle: "corpus", target: "prompt-thesis-brief", targetHandle: "corpus" }, { id: "edge-thesis-prompt-to-llm", source: "prompt-thesis-brief", target: "llm-thesis-brief", targetHandle: "prompt" }, { id: "edge-thesis-to-newsletter", source: "llm-thesis-brief", sourceHandle: "text", target: "newsletter-draft", targetHandle: "prompt" }, { id: "edge-thesis-to-x-prompt", source: "llm-thesis-brief", sourceHandle: "text", target: "prompt-x-post", targetHandle: "brief" }, { id: "edge-x-prompt-to-post", source: "prompt-x-post", target: "x-post-draft", targetHandle: "prompt" }, { id: "edge-post-to-image-prompt", source: "x-post-draft", sourceHandle: "description", target: "prompt-image", targetHandle: "tweet" }, { id: "edge-image-prompt-to-llm", source: "prompt-image", target: "llm-image-prompt", targetHandle: "prompt" }, { id: "edge-llm-image-prompt-to-image", source: "llm-image-prompt", sourceHandle: "text", target: "image-ingredient", targetHandle: "prompt" }, { id: "edge-post-to-attach", source: "x-post-draft", sourceHandle: "id", target: "attach-image-to-post", targetHandle: "postId" }, { id: "edge-image-to-attach", source: "image-ingredient", sourceHandle: "id", target: "attach-image-to-post", targetHandle: "ingredientId" }, { id: "edge-attach-to-output", source: "attach-image-to-post", target: "workflow-output-weekly-content", targetHandle: "value" }], schedule: "0 9 * * 1", timezone: "UTC", version: 1 },
60411
+ { key: "youtube-livestream-thumbnail", label: "YouTube Livestream Thumbnail", category: "generation", description: "Generate a 16:9 livestream thumbnail with the brand headline font and the live version of the brand mark", edges: [{ id: "edge-livestream-scene-image", source: "workflow-input-livestream-scene", sourceHandle: "value", target: "ai-generate-image-livestream", targetHandle: "prompt" }, { id: "edge-livestream-image-cover", source: "ai-generate-image-livestream", sourceHandle: "imageUrl", target: "brand-cover-livestream", targetHandle: "image" }, { id: "edge-livestream-title-cover", source: "workflow-input-livestream-title", sourceHandle: "value", target: "brand-cover-livestream", targetHandle: "title" }, { id: "edge-livestream-cover-output", source: "brand-cover-livestream", sourceHandle: "image", target: "workflow-output-livestream-cover", targetHandle: "value" }], icon: "youtube", inputVariables: [{ key: "coverTitle", label: "Cover Title", required: true, type: "text" }, { key: "coverScene", label: "Backdrop Scene", required: true, type: "text" }], nodes: [{ data: { config: { inputName: "coverTitle", inputType: "text", required: true }, label: "Cover Title" }, id: "workflow-input-livestream-title", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "coverScene", inputType: "text", required: true }, label: "Backdrop Scene" }, id: "workflow-input-livestream-scene", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { actionId: "imageGen", parameters: { height: 1080, style: "broadcast backdrop, clear space for a headline", width: 1920 } }, inputVariableKeys: [], label: "Backdrop" }, id: "ai-generate-image-livestream", position: { x: 360, y: 180 }, type: "genfeedAction" }, { data: { config: { actionId: "brandCover", parameters: { placement: "bottom", variant: "live", width: 1920 } }, inputVariableKeys: [], label: "Brand Cover" }, id: "brand-cover-livestream", position: { x: 720, y: 100 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "cover" } }, inputVariableKeys: [], label: "Thumbnail" }, id: "workflow-output-livestream-cover", position: { x: 1080, y: 100 }, type: "genfeedAction" }] },
60412
+ { key: "youtube-recap-thumbnail", label: "YouTube Recap Thumbnail", category: "generation", description: "Turn a frame of the episode into a 16:9 recap thumbnail with the brand headline font and mark", edges: [{ id: "edge-recap-video-cover", source: "workflow-input-recap-video", sourceHandle: "value", target: "brand-cover-recap", targetHandle: "video" }, { id: "edge-recap-title-cover", source: "workflow-input-recap-title", sourceHandle: "value", target: "brand-cover-recap", targetHandle: "title" }, { id: "edge-recap-cover-output", source: "brand-cover-recap", sourceHandle: "image", target: "workflow-output-recap-cover", targetHandle: "value" }], icon: "youtube", inputVariables: [{ key: "coverTitle", label: "Cover Title", required: true, type: "text" }, { key: "recapVideo", label: "Episode", required: true, type: "video" }], nodes: [{ data: { config: { inputName: "coverTitle", inputType: "text", required: true }, label: "Cover Title" }, id: "workflow-input-recap-title", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "recapVideo", inputType: "video", required: true }, label: "Episode" }, id: "workflow-input-recap-video", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { actionId: "brandCover", parameters: { placement: "bottom", timestampSeconds: 5, variant: "default", width: 1920 } }, inputVariableKeys: [], label: "Brand Cover" }, id: "brand-cover-recap", position: { x: 360, y: 100 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "cover" } }, inputVariableKeys: [], label: "Thumbnail" }, id: "workflow-output-recap-cover", position: { x: 720, y: 100 }, type: "genfeedAction" }] },
60413
+ { key: "youtube-shorts-cover", label: "YouTube Shorts Cover", category: "generation", description: "Turn a frame of the Short into a 9:16 cover with the headline stacked upper left and the brand mark", edges: [{ id: "edge-shorts-video-cover", source: "workflow-input-shorts-video", sourceHandle: "value", target: "brand-cover-shorts", targetHandle: "video" }, { id: "edge-shorts-title-cover", source: "workflow-input-shorts-title", sourceHandle: "value", target: "brand-cover-shorts", targetHandle: "title" }, { id: "edge-shorts-cover-output", source: "brand-cover-shorts", sourceHandle: "image", target: "workflow-output-shorts-cover", targetHandle: "value" }], icon: "youtube", inputVariables: [{ key: "coverTitle", label: "Cover Title", required: true, type: "text" }, { key: "shortVideo", label: "Short", required: true, type: "video" }], nodes: [{ data: { config: { inputName: "coverTitle", inputType: "text", required: true }, label: "Cover Title" }, id: "workflow-input-shorts-title", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "shortVideo", inputType: "video", required: true }, label: "Short" }, id: "workflow-input-shorts-video", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { actionId: "brandCover", parameters: { placement: "top-left", timestampSeconds: 2, variant: "default", width: 1080 } }, inputVariableKeys: [], label: "Brand Cover" }, id: "brand-cover-shorts", position: { x: 360, y: 100 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "cover" } }, inputVariableKeys: [], label: "Cover" }, id: "workflow-output-shorts-cover", position: { x: 720, y: 100 }, type: "genfeedAction" }] },
60414
+ { key: "youtube-thumbnail-script", label: "YouTube Thumbnail and Script Generator", category: "generation", description: "Generate three 16:9 YouTube thumbnail variations and a livestream/video script brief from a title, concept, audience, style, and optional reference image", edges: [{ id: "edge-youtube-title-thumbnail-prompt", source: "workflow-input-youtube-title", sourceHandle: "value", target: "ai-prompt-constructor-youtube-thumbnail", targetHandle: "titleText" }, { id: "edge-youtube-concept-thumbnail-prompt", source: "workflow-input-youtube-concept", sourceHandle: "value", target: "ai-prompt-constructor-youtube-thumbnail", targetHandle: "thumbnailConcept" }, { id: "edge-youtube-audience-thumbnail-prompt", source: "workflow-input-youtube-audience", sourceHandle: "value", target: "ai-prompt-constructor-youtube-thumbnail", targetHandle: "targetAudience" }, { id: "edge-youtube-style-thumbnail-prompt", source: "workflow-input-youtube-style", sourceHandle: "value", target: "ai-prompt-constructor-youtube-thumbnail", targetHandle: "visualStyle" }, { id: "edge-youtube-thumbnail-prompt-v1", source: "ai-prompt-constructor-youtube-thumbnail", sourceHandle: "prompt", target: "ai-generate-youtube-thumbnail-v1", targetHandle: "prompt" }, { id: "edge-youtube-thumbnail-prompt-v2", source: "ai-prompt-constructor-youtube-thumbnail", sourceHandle: "prompt", target: "ai-generate-youtube-thumbnail-v2", targetHandle: "prompt" }, { id: "edge-youtube-thumbnail-prompt-v3", source: "ai-prompt-constructor-youtube-thumbnail", sourceHandle: "prompt", target: "ai-generate-youtube-thumbnail-v3", targetHandle: "prompt" }, { id: "edge-youtube-reference-v1", source: "workflow-input-youtube-reference", sourceHandle: "value", target: "ai-generate-youtube-thumbnail-v1", targetHandle: "image" }, { id: "edge-youtube-reference-v2", source: "workflow-input-youtube-reference", sourceHandle: "value", target: "ai-generate-youtube-thumbnail-v2", targetHandle: "image" }, { id: "edge-youtube-reference-v3", source: "workflow-input-youtube-reference", sourceHandle: "value", target: "ai-generate-youtube-thumbnail-v3", targetHandle: "image" }, { id: "edge-youtube-thumbnail-v1-output", source: "ai-generate-youtube-thumbnail-v1", sourceHandle: "imageUrl", target: "workflow-output-youtube-thumbnail-v1", targetHandle: "value" }, { id: "edge-youtube-thumbnail-v2-output", source: "ai-generate-youtube-thumbnail-v2", sourceHandle: "imageUrl", target: "workflow-output-youtube-thumbnail-v2", targetHandle: "value" }, { id: "edge-youtube-thumbnail-v3-output", source: "ai-generate-youtube-thumbnail-v3", sourceHandle: "imageUrl", target: "workflow-output-youtube-thumbnail-v3", targetHandle: "value" }, { id: "edge-youtube-title-script-prompt", source: "workflow-input-youtube-title", sourceHandle: "value", target: "ai-prompt-constructor-youtube-script", targetHandle: "titleText" }, { id: "edge-youtube-topic-script-prompt", source: "workflow-input-youtube-topic", sourceHandle: "value", target: "ai-prompt-constructor-youtube-script", targetHandle: "topicContext" }, { id: "edge-youtube-audience-script-prompt", source: "workflow-input-youtube-audience", sourceHandle: "value", target: "ai-prompt-constructor-youtube-script", targetHandle: "targetAudience" }, { id: "edge-youtube-script-prompt-llm", source: "ai-prompt-constructor-youtube-script", sourceHandle: "prompt", target: "llm-youtube-script", targetHandle: "prompt" }, { id: "edge-youtube-script-output", source: "llm-youtube-script", sourceHandle: "text", target: "workflow-output-youtube-script", targetHandle: "value" }], icon: "youtube", inputVariables: [{ key: "titleText", label: "Title Text", required: true, type: "text" }, { key: "thumbnailConcept", label: "Thumbnail Concept", required: true, type: "text" }, { defaultValue: "YouTube viewers who decide in under two seconds", key: "targetAudience", label: "Target Audience", required: false, type: "text" }, { defaultValue: "high contrast creator thumbnail, bold clean typography, expressive face, clear focal point", key: "visualStyle", label: "Visual Style", required: false, type: "text" }, { key: "referenceImage", label: "Reference Image", required: false, type: "image" }, { key: "topicContext", label: "Topic Context", required: false, type: "text" }], nodes: [{ data: { config: { inputName: "titleText", inputType: "text", required: true }, label: "Title Text" }, id: "workflow-input-youtube-title", position: { x: 0, y: 40 }, type: "workflowInput" }, { data: { config: { inputName: "thumbnailConcept", inputType: "text", required: true }, label: "Thumbnail Concept" }, id: "workflow-input-youtube-concept", position: { x: 0, y: 180 }, type: "workflowInput" }, { data: { config: { defaultValue: "YouTube viewers who decide in under two seconds", inputName: "targetAudience", inputType: "text", required: false }, label: "Target Audience" }, id: "workflow-input-youtube-audience", position: { x: 0, y: 320 }, type: "workflowInput" }, { data: { config: { defaultValue: "high contrast creator thumbnail, bold clean typography, expressive face, clear focal point", inputName: "visualStyle", inputType: "text", required: false }, label: "Visual Style" }, id: "workflow-input-youtube-style", position: { x: 0, y: 460 }, type: "workflowInput" }, { data: { config: { inputName: "referenceImage", inputType: "image", required: false }, label: "Reference Image" }, id: "workflow-input-youtube-reference", position: { x: 0, y: 600 }, type: "workflowInput" }, { data: { config: { inputName: "topicContext", inputType: "text", required: false }, label: "Topic Context" }, id: "workflow-input-youtube-topic", position: { x: 0, y: 740 }, type: "workflowInput" }, { data: { config: { actionId: "promptConstructor", parameters: { template: 'Create a YouTube thumbnail prompt for a 16:9 thumbnail. Title text to include: "{{titleText}}". Concept: {{thumbnailConcept}}. Target audience: {{targetAudience}}. Visual style: {{visualStyle}}. Keep the composition readable at small size, with one dominant subject, bold typography, clean negative space, emotional clarity, and no clutter. Generate a polished final thumbnail image, not a mockup.', variables: {} } }, inputVariableKeys: [], label: "Thumbnail Prompt" }, id: "ai-prompt-constructor-youtube-thumbnail", position: { x: 340, y: 240 }, type: "genfeedAction" }, { data: { config: { actionId: "imageGen", parameters: { model: "qwen/qwen-image", negativePrompt: "tiny unreadable text, clutter, muddy colors, extra words, misspelled words, distorted face, low contrast, generic stock photo, watermark, logo", style: "high-converting YouTube thumbnail with bold readable title text" } }, inputVariableKeys: [], label: "Thumbnail V1" }, id: "ai-generate-youtube-thumbnail-v1", position: { x: 720, y: 80 }, type: "genfeedAction" }, { data: { config: { actionId: "imageGen", parameters: { model: "qwen/qwen-image", negativePrompt: "tiny unreadable text, clutter, muddy colors, extra words, misspelled words, distorted face, low contrast, generic stock photo, watermark, logo", seed: 1107, style: "alternate high-converting YouTube thumbnail with strong contrast and a different layout" } }, inputVariableKeys: [], label: "Thumbnail V2" }, id: "ai-generate-youtube-thumbnail-v2", position: { x: 720, y: 280 }, type: "genfeedAction" }, { data: { config: { actionId: "imageGen", parameters: { model: "qwen/qwen-image", negativePrompt: "tiny unreadable text, clutter, muddy colors, extra words, misspelled words, distorted face, low contrast, generic stock photo, watermark, logo", seed: 2209, style: "alternate YouTube thumbnail concept with dramatic focal point and readable text hierarchy" } }, inputVariableKeys: [], label: "Thumbnail V3" }, id: "ai-generate-youtube-thumbnail-v3", position: { x: 720, y: 480 }, type: "genfeedAction" }, { data: { config: { actionId: "promptConstructor", parameters: { template: 'Write a concise YouTube livestream/video script brief for title "{{titleText}}". Topic context: {{topicContext}}. Audience: {{targetAudience}}. Include: opening hook, 5-7 talking points, retention beats, thumbnail/title rationale, audience engagement prompts, and a closing CTA.', variables: {} } }, inputVariableKeys: [], label: "Script Prompt" }, id: "ai-prompt-constructor-youtube-script", position: { x: 340, y: 760 }, type: "genfeedAction" }, { data: { config: { actionId: "llm", parameters: { maxTokens: 1600, model: "openai/gpt-6-luna", temperature: 0.7 } }, inputVariableKeys: [], label: "Script Brief" }, id: "llm-youtube-script", position: { x: 720, y: 760 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "thumbnailV1" } }, inputVariableKeys: [], label: "Thumbnail V1 Output" }, id: "workflow-output-youtube-thumbnail-v1", position: { x: 1080, y: 80 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "thumbnailV2" } }, inputVariableKeys: [], label: "Thumbnail V2 Output" }, id: "workflow-output-youtube-thumbnail-v2", position: { x: 1080, y: 280 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "thumbnailV3" } }, inputVariableKeys: [], label: "Thumbnail V3 Output" }, id: "workflow-output-youtube-thumbnail-v3", position: { x: 1080, y: 480 }, type: "genfeedAction" }, { data: { config: { actionId: "workflow.collect-output", parameters: { outputName: "scriptBrief" } }, inputVariableKeys: [], label: "Script Brief Output" }, id: "workflow-output-youtube-script", position: { x: 1080, y: 760 }, type: "genfeedAction" }] }
60415
+ ];
60330
60416
 
60331
60417
  // src/operations/admin-marketplace-sync.ts
60332
60418
  var PRESET_LISTING_SOURCE = "genfeedai/presets";
60419
+ var WORKFLOW_LISTING_SOURCE = "genfeedai/workflows";
60333
60420
  var SKILL_LISTING_SOURCE = "genfeedai/skills";
60334
60421
  var OFFICIAL_SELLER_NAME = "Genfeed Official";
60335
60422
  var SHORT_DESCRIPTION_MAX = 300;
@@ -60352,9 +60439,33 @@ function plain(value) {
60352
60439
  function sameDocument(left, right) {
60353
60440
  return stableStringify(JSON.parse(JSON.stringify(left ?? null))) === stableStringify(JSON.parse(JSON.stringify(right ?? null)));
60354
60441
  }
60442
+ function listingMedia(examples) {
60443
+ const [first] = examples;
60444
+ if (!first)
60445
+ return { previewData: {} };
60446
+ const previewData = { aspectRatio: first.aspectRatio, mediaAlt: first.alt };
60447
+ if (first.mediaType === "video") {
60448
+ return {
60449
+ previewData,
60450
+ previewVideo: first.url,
60451
+ ...first.posterUrl ? { thumbnail: first.posterUrl } : {}
60452
+ };
60453
+ }
60454
+ return {
60455
+ previewData,
60456
+ previewImages: first.sourceUrl ? [first.sourceUrl, first.url] : examples.map((example) => example.url),
60457
+ thumbnail: first.url
60458
+ };
60459
+ }
60460
+ var COVER_ASPECT_RATIO = "4:5";
60355
60461
  function buildPresetListing(preset) {
60356
60462
  const kind = PRESET_KIND_LABELS[preset.kind];
60463
+ const { previewData: exampleData, ...exampleMedia } = listingMedia(preset.examples);
60464
+ const needsCover = !exampleMedia.thumbnail && Boolean(preset.cover);
60465
+ const media = needsCover ? { ...exampleMedia, thumbnail: preset.cover } : exampleMedia;
60466
+ const mediaPreviewData = needsCover && !exampleData.aspectRatio ? { ...exampleData, aspectRatio: COVER_ASPECT_RATIO } : exampleData;
60357
60467
  return {
60468
+ ...media,
60358
60469
  description: `${preset.description}
60359
60470
 
60360
60471
  A built-in Genfeed ${kind} preset for ${preset.type} generation. It is free and already part of the Genfeed app; this listing is the same definition from the open-source catalogue.`,
@@ -60371,7 +60482,7 @@ A built-in Genfeed ${kind} preset for ${preset.type} generation. It is free and
60371
60482
  },
60372
60483
  packageSlug: preset.key,
60373
60484
  packageSource: PRESET_LISTING_SOURCE,
60374
- previewData: { kind: preset.kind, mediaType: preset.type },
60485
+ previewData: { kind: preset.kind, mediaType: preset.type, ...mediaPreviewData },
60375
60486
  price: 0,
60376
60487
  shortDescription: truncate(preset.description, SHORT_DESCRIPTION_MAX),
60377
60488
  tags: ["preset", preset.kind, preset.type],
@@ -60383,6 +60494,37 @@ A built-in Genfeed ${kind} preset for ${preset.type} generation. It is free and
60383
60494
  function buildPresetListings(catalog = PRESET_CATALOG) {
60384
60495
  return catalog.map(buildPresetListing);
60385
60496
  }
60497
+ function buildWorkflowListing(workflow) {
60498
+ const inputs = workflow.inputVariables ?? [];
60499
+ return {
60500
+ description: `${workflow.description}
60501
+
60502
+ A built-in Genfeed workflow. It is free and already part of the Genfeed app; this listing is the same definition from the open-source catalogue.`,
60503
+ downloadData: plain({
60504
+ category: workflow.category,
60505
+ edges: workflow.edges ?? [],
60506
+ inputVariables: inputs,
60507
+ name: workflow.label,
60508
+ nodes: workflow.nodes
60509
+ }),
60510
+ packageSlug: workflow.key,
60511
+ packageSource: WORKFLOW_LISTING_SOURCE,
60512
+ previewData: {
60513
+ category: workflow.category,
60514
+ inputs: inputs.map((input) => input.label),
60515
+ nodeCount: workflow.nodes.length
60516
+ },
60517
+ price: 0,
60518
+ shortDescription: truncate(workflow.description, SHORT_DESCRIPTION_MAX),
60519
+ tags: ["workflow", workflow.category],
60520
+ title: workflow.label,
60521
+ type: "workflow",
60522
+ version: "1.0.0"
60523
+ };
60524
+ }
60525
+ function buildWorkflowListings(catalog = WORKFLOW_CATALOG_DATA) {
60526
+ return catalog.map(buildWorkflowListing);
60527
+ }
60386
60528
  function readStrings(value) {
60387
60529
  return Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : [];
60388
60530
  }
@@ -60471,8 +60613,11 @@ async function readSkillListings(skillsDir) {
60471
60613
  }
60472
60614
  return { drafts, skipped };
60473
60615
  }
60616
+ function hasSameMedia(draft, existing) {
60617
+ return (draft.thumbnail === undefined || existing.thumbnail === draft.thumbnail) && (draft.previewVideo === undefined || existing.previewVideo === draft.previewVideo) && (draft.previewImages === undefined || sameDocument(existing.previewImages ?? [], draft.previewImages));
60618
+ }
60474
60619
  function isSameContent(draft, existing) {
60475
- return existing.title === draft.title && existing.shortDescription === draft.shortDescription && existing.description === draft.description && existing.price === draft.price && existing.version === draft.version && sameDocument(existing.tags ?? [], draft.tags) && sameDocument(existing.previewData ?? {}, draft.previewData) && sameDocument(existing.downloadData ?? {}, draft.downloadData);
60620
+ return existing.title === draft.title && existing.shortDescription === draft.shortDescription && existing.description === draft.description && existing.price === draft.price && existing.version === draft.version && sameDocument(existing.tags ?? [], draft.tags) && sameDocument(existing.previewData ?? {}, draft.previewData) && sameDocument(existing.downloadData ?? {}, draft.downloadData) && hasSameMedia(draft, existing);
60476
60621
  }
60477
60622
  function planSync(drafts, existing) {
60478
60623
  const keyOf = (source, slug) => `${source ?? ""}\x00${slug ?? ""}`;
@@ -60545,19 +60690,40 @@ async function applySyncPlan(marketplaceApiUrl, plan) {
60545
60690
 
60546
60691
  // src/commands/admin/marketplace.ts
60547
60692
  function parseSyncSelection(value) {
60548
- if (value === "all" || value === "presets" || value === "skills")
60693
+ if (value === "all" || value === "presets" || value === "skills" || value === "workflows")
60549
60694
  return value;
60550
- throw new GenfeedError(`Unknown selection "${value}"`, "Use one of: all, presets, skills");
60695
+ throw new GenfeedError(`Unknown selection "${value}"`, "Use one of: all, presets, skills, workflows");
60696
+ }
60697
+ function describeMedia(draft) {
60698
+ return {
60699
+ previewImages: draft.previewImages ?? [],
60700
+ previewVideo: draft.previewVideo ?? null,
60701
+ thumbnail: draft.thumbnail ?? null
60702
+ };
60703
+ }
60704
+ function formatMediaLine(draft) {
60705
+ const label = `${draft.packageSource}/${draft.packageSlug}`;
60706
+ if (!draft.thumbnail && !draft.previewVideo && !draft.previewImages?.length)
60707
+ return `no example, media left empty ${label}`;
60708
+ const parts = [
60709
+ draft.thumbnail ? `thumbnail ${draft.thumbnail}` : undefined,
60710
+ draft.previewVideo ? `video ${draft.previewVideo}` : undefined,
60711
+ draft.previewImages?.length ? `${draft.previewImages.length} images` : undefined
60712
+ ].filter(Boolean);
60713
+ return `${parts.join(", ")} ${label}`;
60551
60714
  }
60552
60715
  async function runSync(options, command) {
60553
60716
  const marketplaceApiUrl = await readMarketplaceApiUrl(command);
60554
60717
  const drafts = [];
60555
60718
  let skipped = [];
60556
- if (options.only !== "skills")
60719
+ if (options.only === "all" || options.only === "presets")
60557
60720
  drafts.push(...buildPresetListings());
60558
- if (options.only !== "presets") {
60721
+ if (options.only === "all" || options.only === "workflows") {
60722
+ drafts.push(...buildWorkflowListings());
60723
+ }
60724
+ if (options.only === "all" || options.only === "skills") {
60559
60725
  if (!options.skillsDir) {
60560
- throw new GenfeedError("Skills need a checkout of genfeedai/skills", "Pass --skills-dir <path>, or --only presets");
60726
+ throw new GenfeedError("Skills need a checkout of genfeedai/skills", "Pass --skills-dir <path>, or --only presets or --only workflows");
60561
60727
  }
60562
60728
  const skills = await readSkillListings(options.skillsDir);
60563
60729
  drafts.push(...skills.drafts);
@@ -60572,6 +60738,7 @@ async function runSync(options, command) {
60572
60738
  counts,
60573
60739
  items: plan.entries.map((entry) => ({
60574
60740
  action: entry.action,
60741
+ media: describeMedia(entry.draft),
60575
60742
  price: entry.draft.price,
60576
60743
  slug: entry.draft.packageSlug,
60577
60744
  source: entry.draft.packageSource,
@@ -60590,6 +60757,12 @@ async function runSync(options, command) {
60590
60757
  continue;
60591
60758
  print(`${entry.action.padEnd(13)} ${entry.draft.type.padEnd(7)} ${String(entry.draft.price ? entry.draft.price / 100 : "free").padStart(5)} ${entry.draft.packageSource}/${entry.draft.packageSlug}`);
60592
60759
  }
60760
+ const withMedia = plan.entries.filter((entry) => entry.draft.thumbnail || entry.draft.previewVideo || entry.draft.previewImages?.length);
60761
+ print(formatLabel("Media", `${withMedia.length} of ${plan.entries.length} items set a picture or a clip`));
60762
+ for (const entry of plan.entries) {
60763
+ if (entry.draft.type === "preset")
60764
+ print(` ${formatMediaLine(entry.draft)}`);
60765
+ }
60593
60766
  print(formatLabel("Plan", `${counts.create} to create, ${counts.update} to update, ${counts["finish-review"]} to publish, ${counts.unchanged} unchanged, ${counts.rejected} rejected earlier (left alone)`));
60594
60767
  for (const item of skipped)
60595
60768
  print(formatWarning(`Skipped skill ${item.slug}: ${item.reason}`));
@@ -60668,7 +60841,7 @@ function createMarketplaceCommand() {
60668
60841
  } catch (error) {
60669
60842
  handleError(error);
60670
60843
  }
60671
- })).addCommand(new Command("sync").description("Create or update the free Genfeed preset and skill listings from their sources (preview unless --yes)").option("--only <what>", "all | presets | skills", parseSyncSelection, "all").option("--skills-dir <path>", "A checkout of genfeedai/skills").option("--yes", "Write the changes to the store").option("--json", "Output as JSON").action(async (options, command) => {
60844
+ })).addCommand(new Command("sync").description("Create or update the free Genfeed preset, workflow and skill listings from their sources (preview unless --yes)").option("--only <what>", "all | presets | workflows | skills", parseSyncSelection, "all").option("--skills-dir <path>", "A checkout of genfeedai/skills").option("--yes", "Write the changes to the store").option("--json", "Output as JSON").action(async (options, command) => {
60672
60845
  try {
60673
60846
  await runSync(options, command);
60674
60847
  } catch (error) {
@@ -66524,7 +66697,7 @@ var websitePlans = [
66524
66697
  `Trend scans and competitor ad scans: ${formatResearchScanLimit(RESEARCH_SCAN_LIMITS["scale" /* SCALE */])} each`,
66525
66698
  "Everything else in Pro",
66526
66699
  "Unlimited seats and client workspaces",
66527
- "Ultra quality, model training",
66700
+ "Brand model training",
66528
66701
  `${SCALE_API_RATE_LIMIT} API requests/min`
66529
66702
  ],
66530
66703
  includedCredits: TIER_INCLUDED_MONTHLY_CREDITS.scale,
@@ -71486,7 +71659,7 @@ var package_default = {
71486
71659
  "type-check": "bun run ../../scripts/architecture/check-typecheck-prerequisites.ts && bun check --no-script"
71487
71660
  },
71488
71661
  type: "module",
71489
- version: "0.7.0"
71662
+ version: "0.7.1"
71490
71663
  };
71491
71664
 
71492
71665
  // src/commands/host/catalog.ts
@@ -73358,13 +73531,17 @@ function isSameReply(a, b) {
73358
73531
  const right = comparisonKey(b);
73359
73532
  return left === right || left.startsWith(right) || right.startsWith(left);
73360
73533
  }
73534
+ function withoutSplitCharacter(value) {
73535
+ const last = value.charCodeAt(value.length - 1);
73536
+ return last >= 55296 && last <= 56319 ? value.slice(0, -1) : value;
73537
+ }
73361
73538
  function truncateToChannelLimit(text, maxCharacters, usesWeightedCharacters) {
73362
73539
  const fits = (value) => measureChannelText(value, usesWeightedCharacters) <= maxCharacters;
73363
73540
  if (fits(text))
73364
73541
  return text;
73365
- let candidate = text.slice(0, maxCharacters);
73542
+ let candidate = withoutSplitCharacter(text.slice(0, maxCharacters));
73366
73543
  while (candidate.length > 0 && !fits(candidate)) {
73367
- candidate = candidate.slice(0, -1);
73544
+ candidate = withoutSplitCharacter(candidate.slice(0, -1));
73368
73545
  }
73369
73546
  const ends = Array.from(candidate.matchAll(SENTENCE_END), (match) => (match.index ?? 0) + 1);
73370
73547
  const sentenceEnd = ends.at(-1);
@@ -73375,7 +73552,7 @@ function truncateToChannelLimit(text, maxCharacters, usesWeightedCharacters) {
73375
73552
  let cut = lastSpace > 0 ? candidate.slice(0, lastSpace) : candidate;
73376
73553
  cut = cut.replace(TRAILING_SEPARATORS_PATTERN, "");
73377
73554
  while (cut.length > 0 && !fits(`${cut}${ELLIPSIS}`)) {
73378
- cut = cut.slice(0, -1);
73555
+ cut = withoutSplitCharacter(cut.slice(0, -1));
73379
73556
  }
73380
73557
  return cut.length > 0 ? `${cut}${ELLIPSIS}` : "";
73381
73558
  }
@@ -87327,7 +87504,7 @@ var OVERLAP_QUERY_TOOLS = [
87327
87504
  },
87328
87505
  {
87329
87506
  creditCost: 0,
87330
- description: "Get trending topics and content ideas based on current trends across social media and news.",
87507
+ description: "Get trending topics and content ideas based on current trends across social media and news. Also returns the outlier library: public TikTok and Instagram videos that beat their creator's typical post, with the multiple, a link and the date the counts were read. Outliers ignore timeframe.",
87331
87508
  name: "get_trends",
87332
87509
  parameters: {
87333
87510
  properties: {
package/package.json CHANGED
@@ -74,5 +74,5 @@
74
74
  "type-check": "bun run ../../scripts/architecture/check-typecheck-prerequisites.ts && bun check --no-script"
75
75
  },
76
76
  "type": "module",
77
- "version": "0.7.0"
77
+ "version": "0.7.1"
78
78
  }