@genfeedai/cli 0.7.0 → 0.7.2
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.
- package/dist/index.js +395 -19
- 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
|
|
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
|
|
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
|
|
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
|
|
60320
|
+
var WITHOUT_EXAMPLES = [
|
|
60298
60321
|
...STUDIO_SYSTEM_PRESETS.map((preset) => ({
|
|
60299
60322
|
...preset,
|
|
60300
60323
|
kind: "studio"
|
|
@@ -60327,9 +60350,163 @@ 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/prompt-catalog.generated.ts
|
|
60360
|
+
var PROMPT_CATALOG_DATA = [
|
|
60361
|
+
{ key: "ad-screen-demo", label: "Screen demo prompt", description: "A narrated screen demonstration: a voiceover walks through the screen content you provide.", text: `Create a {{aspectRatio}} video lasting {{duration}} seconds.
|
|
60362
|
+
|
|
60363
|
+
Do not add captions, titles, logos or other generated words on screen.
|
|
60364
|
+
|
|
60365
|
+
{{referenceRoles}}
|
|
60366
|
+
|
|
60367
|
+
Say "{{dialogue}}". Use the same words, same number of words, same order.
|
|
60368
|
+
|
|
60369
|
+
Show the referenced screen content clearly while the voiceover explains it.
|
|
60370
|
+
|
|
60371
|
+
Keep human anatomy, objects and surroundings at realistic proportions.
|
|
60372
|
+
|
|
60373
|
+
{{lensMm}} mm lens; compose for {{aspectRatio}}.
|
|
60374
|
+
|
|
60375
|
+
{{qualityLook}}
|
|
60376
|
+
|
|
60377
|
+
Use believable, consistent light that suits the setting.
|
|
60378
|
+
|
|
60379
|
+
Speak naturally with restrained gestures and expressions.
|
|
60380
|
+
|
|
60381
|
+
Start with an attentive look, deliver the dialogue, then settle naturally.
|
|
60382
|
+
|
|
60383
|
+
Reference audio steers the voice. There is no unchanged-audio guarantee.
|
|
60384
|
+
|
|
60385
|
+
Maintain identity, wardrobe, setting and lighting throughout.`, cover: "https://cdn.genfeed.ai/assets/cards/presets/ad-screen-demo.webp", mediaType: "video" },
|
|
60386
|
+
{ key: "ad-talking-head", label: "Talking head prompt", description: "A direct-to-camera presentation: one person speaks your script in a steady, clean frame.", text: `Create a {{aspectRatio}} video lasting {{duration}} seconds.
|
|
60387
|
+
|
|
60388
|
+
Do not add captions, titles, logos or other generated words on screen.
|
|
60389
|
+
|
|
60390
|
+
{{referenceRoles}}
|
|
60391
|
+
|
|
60392
|
+
Say "{{dialogue}}". Use the same words, same number of words, same order.
|
|
60393
|
+
|
|
60394
|
+
Keep the referenced person recognizable and interacting naturally with the setting.
|
|
60395
|
+
|
|
60396
|
+
Keep human anatomy, objects and surroundings at realistic proportions.
|
|
60397
|
+
|
|
60398
|
+
{{lensMm}} mm lens; compose for {{aspectRatio}}.
|
|
60399
|
+
|
|
60400
|
+
{{qualityLook}}
|
|
60401
|
+
|
|
60402
|
+
Use believable, consistent light that suits the setting.
|
|
60403
|
+
|
|
60404
|
+
Speak naturally with restrained gestures and expressions.
|
|
60405
|
+
|
|
60406
|
+
Start with an attentive look, deliver the dialogue, then settle naturally.
|
|
60407
|
+
|
|
60408
|
+
Reference audio steers the voice. There is no unchanged-audio guarantee.
|
|
60409
|
+
|
|
60410
|
+
Maintain identity, wardrobe, setting and lighting throughout.`, cover: "https://cdn.genfeed.ai/assets/cards/presets/ad-talking-head.webp", mediaType: "video" },
|
|
60411
|
+
{ key: "ad-ugc-selfie", label: "UGC selfie ad prompt", description: "A casual handheld selfie ad: one person talks straight to their phone camera, in the setting you choose.", text: `Create a {{aspectRatio}} video lasting {{duration}} seconds.
|
|
60412
|
+
|
|
60413
|
+
Do not add captions, titles, logos or other generated words on screen.
|
|
60414
|
+
|
|
60415
|
+
{{referenceRoles}}
|
|
60416
|
+
|
|
60417
|
+
Say "{{dialogue}}". Use the same words, same number of words, same order.
|
|
60418
|
+
|
|
60419
|
+
Keep the referenced person recognizable and interacting naturally with the setting.
|
|
60420
|
+
|
|
60421
|
+
Keep human anatomy, objects and surroundings at realistic proportions.
|
|
60422
|
+
|
|
60423
|
+
Handheld phone selfie, {{lensMm}} mm lens, {{aspectRatio}}; subtle natural movement.
|
|
60424
|
+
|
|
60425
|
+
{{qualityLook}}
|
|
60426
|
+
|
|
60427
|
+
Use believable, consistent light that suits the setting.
|
|
60428
|
+
|
|
60429
|
+
Speak naturally with restrained gestures and expressions.
|
|
60430
|
+
|
|
60431
|
+
Start with an attentive look, deliver the dialogue, then settle naturally.
|
|
60432
|
+
|
|
60433
|
+
Reference audio steers the voice. There is no unchanged-audio guarantee.
|
|
60434
|
+
|
|
60435
|
+
Maintain identity, wardrobe, setting and lighting throughout.`, cover: "https://cdn.genfeed.ai/assets/cards/presets/ad-ugc-selfie.webp", mediaType: "video" },
|
|
60436
|
+
{ key: "studio-animation", label: "Animation prompt", description: "A playful animated scene with clear movement.", text: "Animate your subject in a short playful scene.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-animation.webp", mediaType: "video", examples: [{ url: "https://cdn.genfeed.ai/assets/prompts/studio-animation/paper-fox.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf7r101440gmnknbkoef8.jpg", alt: "A paper-folded fox exploring a tiny cardboard city", aspectRatio: "9:16", mediaType: "video" }, { url: "https://cdn.genfeed.ai/assets/prompts/studio-animation/coffee-cup.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf8cl01480gmn545edgjb.jpg", alt: "A cartoon coffee cup that wakes up and stretches", aspectRatio: "9:16", mediaType: "video" }, { url: "https://cdn.genfeed.ai/assets/prompts/studio-animation/clay-astronaut.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf8yk014c0gmnl5v82lg8.jpg", alt: "A clay astronaut planting a flag on a cheese moon", aspectRatio: "9:16", mediaType: "video" }] },
|
|
60437
|
+
{ key: "studio-banner", label: "Banner prompt", description: "A wide composition with space for your headline.", text: "Create a wide banner for your topic or brand.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-banner.webp", mediaType: "image", examples: [{ url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcon6012d0gmnaij9ghb0.jpg", alt: "A banner for an artisanal coffee roaster, with a wooden shop sign and baristas at work", aspectRatio: "1:1", mediaType: "image" }, { url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcpj9012h0gmn613no1rd.jpg", alt: "A banner for a running club's autumn half marathon, with runners on a leaf-covered road", aspectRatio: "1:1", mediaType: "image" }, { url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcq5g012l0gmn8yxd0rf8.jpg", alt: "A banner for a cozy indie farming game studio, with a farmer, a dog and a garden", aspectRatio: "1:1", mediaType: "image" }] },
|
|
60438
|
+
{ key: "studio-dance", label: "Dance prompt", description: "A full-body performance with room to move.", text: "Create a short dance performance featuring your subject.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-dance.webp", mediaType: "video", examples: [{ url: "https://cdn.genfeed.ai/assets/prompts/studio-dance/chrome-robot.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf9kk014g0gmnlh0gqa5g.jpg", alt: "A chrome robot dancing in a neon-lit parking garage", aspectRatio: "9:16", mediaType: "video" }, { url: "https://cdn.genfeed.ai/assets/prompts/studio-dance/retriever.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jfa74014k0gmnw17h95ge.jpg", alt: "A golden retriever dancing in a sunny kitchen", aspectRatio: "9:16", mediaType: "video" }, { url: "https://cdn.genfeed.ai/assets/prompts/studio-dance/flamenco.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jfbdw014s0gmnvmtl1pm3.jpg", alt: "A flamenco dancer on a whitewashed rooftop at sunset", aspectRatio: "9:16", mediaType: "video" }] },
|
|
60439
|
+
{ key: "studio-edit-enhance", label: "Enhance photo prompt", description: "Better light, color and sharpness, same subject.", text: "Improve the lighting, color balance and sharpness of this photo. Keep the subject, composition and details the same.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-edit-enhance.webp", mediaType: "image-edit" },
|
|
60440
|
+
{ key: "studio-edit-remove-background", label: "Remove background prompt", description: "Cut out the subject on a clean white background.", text: "Remove the background and place the subject on a clean, plain white background. Keep the subject unchanged.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-edit-remove-background.webp", mediaType: "image-edit" },
|
|
60441
|
+
{ key: "studio-edit-restyle", label: "Change style prompt", description: "Redraw the image as an illustration, same composition.", text: "Restyle this image as a clean, modern illustration. Keep the composition and subject recognizable.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-edit-restyle.webp", mediaType: "image-edit" },
|
|
60442
|
+
{ key: "studio-edit-retouch", label: "Retouch prompt", description: "Remove blemishes and distractions, change nothing else.", text: "Remove blemishes, dust and small distractions. Leave everything else exactly as it is.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-edit-retouch.webp", mediaType: "image-edit" },
|
|
60443
|
+
{ key: "studio-meme", label: "Meme prompt", description: "A short reaction with a quick setup and punchline.", text: "Create a short reaction meme about your topic.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-meme.webp", mediaType: "video", examples: [{ url: "https://cdn.genfeed.ai/assets/prompts/studio-meme/first-try.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf5wt013s0gmnvkwmhen8.jpg", alt: "A reaction meme of a developer celebrating code that works on the first try", aspectRatio: "9:16", mediaType: "video" }, { url: "https://cdn.genfeed.ai/assets/prompts/studio-meme/meeting.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf6j6013w0gmn57xzo1m9.jpg", alt: "A reaction meme about finding out the meeting could have been an email", aspectRatio: "9:16", mediaType: "video" }, { url: "https://cdn.genfeed.ai/assets/prompts/studio-meme/cat.mp4", posterUrl: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jf75601400gmndf27wg4w.jpg", alt: "A reaction meme of a cat that just heard the fridge open", aspectRatio: "9:16", mediaType: "video" }] },
|
|
60444
|
+
{ key: "studio-profile-picture", label: "Profile picture prompt", description: "A clean portrait with room for a circular crop.", text: "Create a professional profile picture of your subject.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-profile-picture.webp", mediaType: "image", examples: [{ url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcqr7012p0gmnconcwg3h.jpg", alt: "A profile picture of a founder", aspectRatio: "1:1", mediaType: "image" }, { url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcrdk012t0gmnoetxoqtd.jpg", alt: "A profile picture of a chef", aspectRatio: "1:1", mediaType: "image" }, { url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcs5e012x0gmno8f2ziqw.jpg", alt: "A profile picture of a saxophonist", aspectRatio: "1:1", mediaType: "image" }] },
|
|
60445
|
+
{ key: "studio-youtube-thumbnail", label: "YouTube thumbnail prompt", description: "A bold focal point that reads at small sizes.", text: "Create a YouTube thumbnail for your video topic.", cover: "https://cdn.genfeed.ai/assets/cards/presets/studio-youtube-thumbnail.webp", mediaType: "image", examples: [{ url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jc96o011z0gmnvv8tfg16.jpg", alt: "A YouTube thumbnail for a video about building a SaaS product in a weekend", aspectRatio: "1:1", mediaType: "image" }, { url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcnaf01250gmnkncls3kq.jpg", alt: "A YouTube thumbnail for a video about a daily cold plunge routine", aspectRatio: "1:1", mediaType: "image" }, { url: "https://cdn.genfeed.ai/assets/articles/ka4p0pcnf7urmc40ro1ui41s/cmx4jcnyq01290gmnhxqg4ykr.jpg", alt: "A YouTube thumbnail for a video about editing YouTube videos twice as fast", aspectRatio: "1:1", mediaType: "image" }] }
|
|
60446
|
+
];
|
|
60447
|
+
|
|
60448
|
+
// ../contracts/src/constants/workflow-catalog.generated.ts
|
|
60449
|
+
var WORKFLOW_CATALOG_DATA = [
|
|
60450
|
+
{ 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" }] },
|
|
60451
|
+
{ 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" }] },
|
|
60452
|
+
{ 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" }] },
|
|
60453
|
+
{ 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" }] },
|
|
60454
|
+
{ 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}}.
|
|
60455
|
+
|
|
60456
|
+
Brand voice:
|
|
60457
|
+
{{brandVoice}}
|
|
60458
|
+
|
|
60459
|
+
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" }] },
|
|
60460
|
+
{ 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: [] },
|
|
60461
|
+
{ 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" },
|
|
60462
|
+
{ 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" }] },
|
|
60463
|
+
{ 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" }] },
|
|
60464
|
+
{ 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" }] },
|
|
60465
|
+
{ 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" }] },
|
|
60466
|
+
{ 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" }] },
|
|
60467
|
+
{ 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" }] },
|
|
60468
|
+
{ 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" }] },
|
|
60469
|
+
{ 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}}.
|
|
60470
|
+
|
|
60471
|
+
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.
|
|
60472
|
+
|
|
60473
|
+
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.
|
|
60474
|
+
|
|
60475
|
+
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" }] },
|
|
60476
|
+
{ 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" }] },
|
|
60477
|
+
{ 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" }] },
|
|
60478
|
+
{ 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" }] },
|
|
60479
|
+
{ 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" },
|
|
60480
|
+
{ 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: [] },
|
|
60481
|
+
{ 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" }] },
|
|
60482
|
+
{ 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" }] },
|
|
60483
|
+
{ 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: [] },
|
|
60484
|
+
{ 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.
|
|
60485
|
+
|
|
60486
|
+
Use only the collected source posts below as evidence.
|
|
60487
|
+
|
|
60488
|
+
Source posts:
|
|
60489
|
+
{{corpus}}
|
|
60490
|
+
|
|
60491
|
+
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.
|
|
60492
|
+
|
|
60493
|
+
Brief:
|
|
60494
|
+
{{brief}}
|
|
60495
|
+
|
|
60496
|
+
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.
|
|
60497
|
+
|
|
60498
|
+
X post:
|
|
60499
|
+
{{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 },
|
|
60500
|
+
{ 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" }] },
|
|
60501
|
+
{ 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" }] },
|
|
60502
|
+
{ 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" }] },
|
|
60503
|
+
{ 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" }] }
|
|
60504
|
+
];
|
|
60330
60505
|
|
|
60331
60506
|
// src/operations/admin-marketplace-sync.ts
|
|
60332
60507
|
var PRESET_LISTING_SOURCE = "genfeedai/presets";
|
|
60508
|
+
var PROMPT_LISTING_SOURCE = "genfeedai/prompts";
|
|
60509
|
+
var WORKFLOW_LISTING_SOURCE = "genfeedai/workflows";
|
|
60333
60510
|
var SKILL_LISTING_SOURCE = "genfeedai/skills";
|
|
60334
60511
|
var OFFICIAL_SELLER_NAME = "Genfeed Official";
|
|
60335
60512
|
var SHORT_DESCRIPTION_MAX = 300;
|
|
@@ -60352,9 +60529,33 @@ function plain(value) {
|
|
|
60352
60529
|
function sameDocument(left, right) {
|
|
60353
60530
|
return stableStringify(JSON.parse(JSON.stringify(left ?? null))) === stableStringify(JSON.parse(JSON.stringify(right ?? null)));
|
|
60354
60531
|
}
|
|
60532
|
+
function listingMedia(examples) {
|
|
60533
|
+
const [first] = examples;
|
|
60534
|
+
if (!first)
|
|
60535
|
+
return { previewData: {} };
|
|
60536
|
+
const previewData = { aspectRatio: first.aspectRatio, mediaAlt: first.alt };
|
|
60537
|
+
if (first.mediaType === "video") {
|
|
60538
|
+
return {
|
|
60539
|
+
previewData,
|
|
60540
|
+
previewVideo: first.url,
|
|
60541
|
+
...first.posterUrl ? { thumbnail: first.posterUrl } : {}
|
|
60542
|
+
};
|
|
60543
|
+
}
|
|
60544
|
+
return {
|
|
60545
|
+
previewData,
|
|
60546
|
+
previewImages: first.sourceUrl ? [first.sourceUrl, first.url] : examples.map((example) => example.url),
|
|
60547
|
+
thumbnail: first.url
|
|
60548
|
+
};
|
|
60549
|
+
}
|
|
60550
|
+
var COVER_ASPECT_RATIO = "4:5";
|
|
60355
60551
|
function buildPresetListing(preset) {
|
|
60356
60552
|
const kind = PRESET_KIND_LABELS[preset.kind];
|
|
60553
|
+
const { previewData: exampleData, ...exampleMedia } = listingMedia(preset.examples);
|
|
60554
|
+
const needsCover = !exampleMedia.thumbnail && Boolean(preset.cover);
|
|
60555
|
+
const media = needsCover ? { ...exampleMedia, thumbnail: preset.cover } : exampleMedia;
|
|
60556
|
+
const mediaPreviewData = needsCover && !exampleData.aspectRatio ? { ...exampleData, aspectRatio: COVER_ASPECT_RATIO } : exampleData;
|
|
60357
60557
|
return {
|
|
60558
|
+
...media,
|
|
60358
60559
|
description: `${preset.description}
|
|
60359
60560
|
|
|
60360
60561
|
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 +60572,7 @@ A built-in Genfeed ${kind} preset for ${preset.type} generation. It is free and
|
|
|
60371
60572
|
},
|
|
60372
60573
|
packageSlug: preset.key,
|
|
60373
60574
|
packageSource: PRESET_LISTING_SOURCE,
|
|
60374
|
-
previewData: { kind: preset.kind, mediaType: preset.type },
|
|
60575
|
+
previewData: { kind: preset.kind, mediaType: preset.type, ...mediaPreviewData },
|
|
60375
60576
|
price: 0,
|
|
60376
60577
|
shortDescription: truncate(preset.description, SHORT_DESCRIPTION_MAX),
|
|
60377
60578
|
tags: ["preset", preset.kind, preset.type],
|
|
@@ -60383,6 +60584,73 @@ A built-in Genfeed ${kind} preset for ${preset.type} generation. It is free and
|
|
|
60383
60584
|
function buildPresetListings(catalog = PRESET_CATALOG) {
|
|
60384
60585
|
return catalog.map(buildPresetListing);
|
|
60385
60586
|
}
|
|
60587
|
+
function promptCategory(mediaType) {
|
|
60588
|
+
return mediaType === "video" ? "video-generation" : "image-generation";
|
|
60589
|
+
}
|
|
60590
|
+
function buildPromptListing(prompt) {
|
|
60591
|
+
const examples = prompt.examples ?? [];
|
|
60592
|
+
const { previewData: exampleData, ...exampleMedia } = listingMedia(examples);
|
|
60593
|
+
const needsCover = !exampleMedia.thumbnail && Boolean(prompt.cover);
|
|
60594
|
+
const media = needsCover ? { ...exampleMedia, thumbnail: prompt.cover } : exampleMedia;
|
|
60595
|
+
const mediaPreviewData = needsCover && !exampleData.aspectRatio ? { ...exampleData, aspectRatio: COVER_ASPECT_RATIO } : exampleData;
|
|
60596
|
+
return {
|
|
60597
|
+
...media,
|
|
60598
|
+
description: `${prompt.description}
|
|
60599
|
+
|
|
60600
|
+
${prompt.text}`,
|
|
60601
|
+
downloadData: {
|
|
60602
|
+
category: promptCategory(prompt.mediaType),
|
|
60603
|
+
template: prompt.text
|
|
60604
|
+
},
|
|
60605
|
+
packageSlug: prompt.key,
|
|
60606
|
+
packageSource: PROMPT_LISTING_SOURCE,
|
|
60607
|
+
previewData: {
|
|
60608
|
+
...prompt.mediaType ? { mediaType: prompt.mediaType } : {},
|
|
60609
|
+
...mediaPreviewData,
|
|
60610
|
+
...examples.length > 0 ? { examples: plain(examples) } : {}
|
|
60611
|
+
},
|
|
60612
|
+
price: 0,
|
|
60613
|
+
shortDescription: truncate(prompt.description, SHORT_DESCRIPTION_MAX),
|
|
60614
|
+
tags: ["prompt", ...prompt.mediaType ? [prompt.mediaType] : []],
|
|
60615
|
+
title: prompt.label,
|
|
60616
|
+
type: "prompt",
|
|
60617
|
+
version: "1.0.0"
|
|
60618
|
+
};
|
|
60619
|
+
}
|
|
60620
|
+
function buildPromptListings(catalog = PROMPT_CATALOG_DATA) {
|
|
60621
|
+
return catalog.map(buildPromptListing);
|
|
60622
|
+
}
|
|
60623
|
+
function buildWorkflowListing(workflow) {
|
|
60624
|
+
const inputs = workflow.inputVariables ?? [];
|
|
60625
|
+
return {
|
|
60626
|
+
description: `${workflow.description}
|
|
60627
|
+
|
|
60628
|
+
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.`,
|
|
60629
|
+
downloadData: plain({
|
|
60630
|
+
category: workflow.category,
|
|
60631
|
+
edges: workflow.edges ?? [],
|
|
60632
|
+
inputVariables: inputs,
|
|
60633
|
+
name: workflow.label,
|
|
60634
|
+
nodes: workflow.nodes
|
|
60635
|
+
}),
|
|
60636
|
+
packageSlug: workflow.key,
|
|
60637
|
+
packageSource: WORKFLOW_LISTING_SOURCE,
|
|
60638
|
+
previewData: {
|
|
60639
|
+
category: workflow.category,
|
|
60640
|
+
inputs: inputs.map((input) => input.label),
|
|
60641
|
+
nodeCount: workflow.nodes.length
|
|
60642
|
+
},
|
|
60643
|
+
price: 0,
|
|
60644
|
+
shortDescription: truncate(workflow.description, SHORT_DESCRIPTION_MAX),
|
|
60645
|
+
tags: ["workflow", workflow.category],
|
|
60646
|
+
title: workflow.label,
|
|
60647
|
+
type: "workflow",
|
|
60648
|
+
version: "1.0.0"
|
|
60649
|
+
};
|
|
60650
|
+
}
|
|
60651
|
+
function buildWorkflowListings(catalog = WORKFLOW_CATALOG_DATA) {
|
|
60652
|
+
return catalog.map(buildWorkflowListing);
|
|
60653
|
+
}
|
|
60386
60654
|
function readStrings(value) {
|
|
60387
60655
|
return Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : [];
|
|
60388
60656
|
}
|
|
@@ -60418,7 +60686,9 @@ async function buildSkillListing(skillDir, moduleName, slug) {
|
|
|
60418
60686
|
if (!files.some((file) => file.path === SKILL_FILE_NAME)) {
|
|
60419
60687
|
throw new Error(`${SKILL_FILE_NAME} is missing`);
|
|
60420
60688
|
}
|
|
60689
|
+
const cover = typeof metadata.cover === "string" && metadata.cover ? metadata.cover : undefined;
|
|
60421
60690
|
const draft = {
|
|
60691
|
+
...cover ? { thumbnail: cover } : {},
|
|
60422
60692
|
description: `${description}
|
|
60423
60693
|
|
|
60424
60694
|
A free Genfeed skill from the open-source skills repository (module: ${moduleName}). It works in any agent that reads Agent Skills.`,
|
|
@@ -60426,6 +60696,7 @@ A free Genfeed skill from the open-source skills repository (module: ${moduleNam
|
|
|
60426
60696
|
packageSlug: slug,
|
|
60427
60697
|
packageSource: SKILL_LISTING_SOURCE,
|
|
60428
60698
|
previewData: {
|
|
60699
|
+
...cover ? { aspectRatio: COVER_ASPECT_RATIO } : {},
|
|
60429
60700
|
fileCount: files.length,
|
|
60430
60701
|
module: moduleName,
|
|
60431
60702
|
triggers: readStrings(metadata.triggers)
|
|
@@ -60471,8 +60742,11 @@ async function readSkillListings(skillsDir) {
|
|
|
60471
60742
|
}
|
|
60472
60743
|
return { drafts, skipped };
|
|
60473
60744
|
}
|
|
60745
|
+
function hasSameMedia(draft, existing) {
|
|
60746
|
+
return (draft.thumbnail === undefined || existing.thumbnail === draft.thumbnail) && (draft.previewVideo === undefined || existing.previewVideo === draft.previewVideo) && (draft.previewImages === undefined || sameDocument(existing.previewImages ?? [], draft.previewImages));
|
|
60747
|
+
}
|
|
60474
60748
|
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);
|
|
60749
|
+
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
60750
|
}
|
|
60477
60751
|
function planSync(drafts, existing) {
|
|
60478
60752
|
const keyOf = (source, slug) => `${source ?? ""}\x00${slug ?? ""}`;
|
|
@@ -60545,19 +60819,42 @@ async function applySyncPlan(marketplaceApiUrl, plan) {
|
|
|
60545
60819
|
|
|
60546
60820
|
// src/commands/admin/marketplace.ts
|
|
60547
60821
|
function parseSyncSelection(value) {
|
|
60548
|
-
if (value === "all" || value === "presets" || value === "skills")
|
|
60822
|
+
if (value === "all" || value === "presets" || value === "prompts" || value === "skills" || value === "workflows")
|
|
60549
60823
|
return value;
|
|
60550
|
-
throw new GenfeedError(`Unknown selection "${value}"`, "Use one of: all, presets, skills");
|
|
60824
|
+
throw new GenfeedError(`Unknown selection "${value}"`, "Use one of: all, presets, prompts, skills, workflows");
|
|
60825
|
+
}
|
|
60826
|
+
function describeMedia(draft) {
|
|
60827
|
+
return {
|
|
60828
|
+
previewImages: draft.previewImages ?? [],
|
|
60829
|
+
previewVideo: draft.previewVideo ?? null,
|
|
60830
|
+
thumbnail: draft.thumbnail ?? null
|
|
60831
|
+
};
|
|
60832
|
+
}
|
|
60833
|
+
function formatMediaLine(draft) {
|
|
60834
|
+
const label = `${draft.packageSource}/${draft.packageSlug}`;
|
|
60835
|
+
if (!draft.thumbnail && !draft.previewVideo && !draft.previewImages?.length)
|
|
60836
|
+
return `no example, media left empty ${label}`;
|
|
60837
|
+
const parts = [
|
|
60838
|
+
draft.thumbnail ? `thumbnail ${draft.thumbnail}` : undefined,
|
|
60839
|
+
draft.previewVideo ? `video ${draft.previewVideo}` : undefined,
|
|
60840
|
+
draft.previewImages?.length ? `${draft.previewImages.length} images` : undefined
|
|
60841
|
+
].filter(Boolean);
|
|
60842
|
+
return `${parts.join(", ")} ${label}`;
|
|
60551
60843
|
}
|
|
60552
60844
|
async function runSync(options, command) {
|
|
60553
60845
|
const marketplaceApiUrl = await readMarketplaceApiUrl(command);
|
|
60554
60846
|
const drafts = [];
|
|
60555
60847
|
let skipped = [];
|
|
60556
|
-
if (options.only
|
|
60848
|
+
if (options.only === "all" || options.only === "presets")
|
|
60557
60849
|
drafts.push(...buildPresetListings());
|
|
60558
|
-
if (options.only
|
|
60850
|
+
if (options.only === "all" || options.only === "prompts")
|
|
60851
|
+
drafts.push(...buildPromptListings());
|
|
60852
|
+
if (options.only === "all" || options.only === "workflows") {
|
|
60853
|
+
drafts.push(...buildWorkflowListings());
|
|
60854
|
+
}
|
|
60855
|
+
if (options.only === "all" || options.only === "skills") {
|
|
60559
60856
|
if (!options.skillsDir) {
|
|
60560
|
-
throw new GenfeedError("Skills need a checkout of genfeedai/skills", "Pass --skills-dir <path>, or --only presets");
|
|
60857
|
+
throw new GenfeedError("Skills need a checkout of genfeedai/skills", "Pass --skills-dir <path>, or --only presets, prompts or workflows");
|
|
60561
60858
|
}
|
|
60562
60859
|
const skills = await readSkillListings(options.skillsDir);
|
|
60563
60860
|
drafts.push(...skills.drafts);
|
|
@@ -60572,6 +60869,7 @@ async function runSync(options, command) {
|
|
|
60572
60869
|
counts,
|
|
60573
60870
|
items: plan.entries.map((entry) => ({
|
|
60574
60871
|
action: entry.action,
|
|
60872
|
+
media: describeMedia(entry.draft),
|
|
60575
60873
|
price: entry.draft.price,
|
|
60576
60874
|
slug: entry.draft.packageSlug,
|
|
60577
60875
|
source: entry.draft.packageSource,
|
|
@@ -60590,6 +60888,12 @@ async function runSync(options, command) {
|
|
|
60590
60888
|
continue;
|
|
60591
60889
|
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
60890
|
}
|
|
60891
|
+
const withMedia = plan.entries.filter((entry) => entry.draft.thumbnail || entry.draft.previewVideo || entry.draft.previewImages?.length);
|
|
60892
|
+
print(formatLabel("Media", `${withMedia.length} of ${plan.entries.length} items set a picture or a clip`));
|
|
60893
|
+
for (const entry of plan.entries) {
|
|
60894
|
+
if (entry.draft.type === "preset" || entry.draft.type === "prompt")
|
|
60895
|
+
print(` ${formatMediaLine(entry.draft)}`);
|
|
60896
|
+
}
|
|
60593
60897
|
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
60898
|
for (const item of skipped)
|
|
60595
60899
|
print(formatWarning(`Skipped skill ${item.slug}: ${item.reason}`));
|
|
@@ -60668,7 +60972,7 @@ function createMarketplaceCommand() {
|
|
|
60668
60972
|
} catch (error) {
|
|
60669
60973
|
handleError(error);
|
|
60670
60974
|
}
|
|
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) => {
|
|
60975
|
+
})).addCommand(new Command("sync").description("Create or update the free Genfeed preset, prompt, workflow and skill listings from their sources (preview unless --yes)").option("--only <what>", "all | presets | prompts | 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
60976
|
try {
|
|
60673
60977
|
await runSync(options, command);
|
|
60674
60978
|
} catch (error) {
|
|
@@ -63970,6 +64274,22 @@ var REVIEWED_RATE_SHEET_ENTRIES = [
|
|
|
63970
64274
|
resolution: "2K"
|
|
63971
64275
|
},
|
|
63972
64276
|
isPerOutput: true
|
|
64277
|
+
},
|
|
64278
|
+
{
|
|
64279
|
+
component: "input-second",
|
|
64280
|
+
unit: "input-second",
|
|
64281
|
+
unitPriceUsd: 0.08,
|
|
64282
|
+
when: {
|
|
64283
|
+
resolution: "768P"
|
|
64284
|
+
}
|
|
64285
|
+
},
|
|
64286
|
+
{
|
|
64287
|
+
component: "input-second",
|
|
64288
|
+
unit: "input-second",
|
|
64289
|
+
unitPriceUsd: 0.13,
|
|
64290
|
+
when: {
|
|
64291
|
+
resolution: "2K"
|
|
64292
|
+
}
|
|
63973
64293
|
}
|
|
63974
64294
|
],
|
|
63975
64295
|
sourceUrl: "https://replicate.com/minimax/h3",
|
|
@@ -63996,6 +64316,22 @@ var REVIEWED_RATE_SHEET_ENTRIES = [
|
|
|
63996
64316
|
resolution: "768P"
|
|
63997
64317
|
},
|
|
63998
64318
|
isPerOutput: true
|
|
64319
|
+
},
|
|
64320
|
+
{
|
|
64321
|
+
component: "input-second",
|
|
64322
|
+
unit: "input-second",
|
|
64323
|
+
unitPriceUsd: 0.025,
|
|
64324
|
+
when: {
|
|
64325
|
+
resolution: "480P"
|
|
64326
|
+
}
|
|
64327
|
+
},
|
|
64328
|
+
{
|
|
64329
|
+
component: "input-second",
|
|
64330
|
+
unit: "input-second",
|
|
64331
|
+
unitPriceUsd: 0.04,
|
|
64332
|
+
when: {
|
|
64333
|
+
resolution: "768P"
|
|
64334
|
+
}
|
|
63999
64335
|
}
|
|
64000
64336
|
],
|
|
64001
64337
|
sourceUrl: "https://replicate.com/minimax/h3-lite",
|
|
@@ -64011,6 +64347,12 @@ var REVIEWED_RATE_SHEET_ENTRIES = [
|
|
|
64011
64347
|
unitPriceUsd: 0.06,
|
|
64012
64348
|
when: {},
|
|
64013
64349
|
isPerOutput: true
|
|
64350
|
+
},
|
|
64351
|
+
{
|
|
64352
|
+
component: "input-second",
|
|
64353
|
+
unit: "input-second",
|
|
64354
|
+
unitPriceUsd: 0.06,
|
|
64355
|
+
when: {}
|
|
64014
64356
|
}
|
|
64015
64357
|
],
|
|
64016
64358
|
sourceUrl: "https://replicate.com/minimax/h3-highspeed",
|
|
@@ -66524,7 +66866,7 @@ var websitePlans = [
|
|
|
66524
66866
|
`Trend scans and competitor ad scans: ${formatResearchScanLimit(RESEARCH_SCAN_LIMITS["scale" /* SCALE */])} each`,
|
|
66525
66867
|
"Everything else in Pro",
|
|
66526
66868
|
"Unlimited seats and client workspaces",
|
|
66527
|
-
"
|
|
66869
|
+
"Brand model training",
|
|
66528
66870
|
`${SCALE_API_RATE_LIMIT} API requests/min`
|
|
66529
66871
|
],
|
|
66530
66872
|
includedCredits: TIER_INCLUDED_MONTHLY_CREDITS.scale,
|
|
@@ -71486,7 +71828,7 @@ var package_default = {
|
|
|
71486
71828
|
"type-check": "bun run ../../scripts/architecture/check-typecheck-prerequisites.ts && bun check --no-script"
|
|
71487
71829
|
},
|
|
71488
71830
|
type: "module",
|
|
71489
|
-
version: "0.7.
|
|
71831
|
+
version: "0.7.2"
|
|
71490
71832
|
};
|
|
71491
71833
|
|
|
71492
71834
|
// src/commands/host/catalog.ts
|
|
@@ -72098,12 +72440,25 @@ var INSTAGRAM_VIDEO_VOLUME_SETTING = {
|
|
|
72098
72440
|
label: "Reel sound volume",
|
|
72099
72441
|
type: "number"
|
|
72100
72442
|
};
|
|
72443
|
+
var INSTAGRAM_TRIAL_REEL_SETTING_KEY = "trialReel";
|
|
72444
|
+
var INSTAGRAM_TRIAL_REEL_SETTING = {
|
|
72445
|
+
description: "Publishes the Reel as a Trial Reel, shown to people who do not follow the account. Only applies to Reels with the Reel placement.",
|
|
72446
|
+
key: INSTAGRAM_TRIAL_REEL_SETTING_KEY,
|
|
72447
|
+
label: "Trial Reel",
|
|
72448
|
+
options: [
|
|
72449
|
+
{ label: "Off", value: "off" },
|
|
72450
|
+
{ label: "Graduate by hand", value: "manual" },
|
|
72451
|
+
{ label: "Graduate when it performs well", value: "auto" }
|
|
72452
|
+
],
|
|
72453
|
+
type: "select"
|
|
72454
|
+
};
|
|
72101
72455
|
var INSTAGRAM_PUBLISHING_SETTINGS = [
|
|
72102
72456
|
INSTAGRAM_AI_GENERATED_SETTING,
|
|
72103
72457
|
INSTAGRAM_COVER_IMAGE_SETTING,
|
|
72104
72458
|
INSTAGRAM_AUDIO_ID_SETTING,
|
|
72105
72459
|
INSTAGRAM_AUDIO_VOLUME_SETTING,
|
|
72106
|
-
INSTAGRAM_VIDEO_VOLUME_SETTING
|
|
72460
|
+
INSTAGRAM_VIDEO_VOLUME_SETTING,
|
|
72461
|
+
INSTAGRAM_TRIAL_REEL_SETTING
|
|
72107
72462
|
];
|
|
72108
72463
|
|
|
72109
72464
|
// ../contracts/src/api-types/contracts/channel-setting-validation.contract.ts
|
|
@@ -72242,6 +72597,7 @@ var DEVTO_TAGS_SETTING_KEY = "tags";
|
|
|
72242
72597
|
var DEVTO_CANONICAL_URL_SETTING_KEY = "canonicalUrl";
|
|
72243
72598
|
var DEVTO_SERIES_SETTING_KEY = "series";
|
|
72244
72599
|
var DEVTO_SAVE_AS_DRAFT_SETTING_KEY = "saveAsDraft";
|
|
72600
|
+
var DEVTO_ORGANIZATION_ID_SETTING_KEY = "organizationId";
|
|
72245
72601
|
var DEVTO_PUBLISHING_SETTINGS = [
|
|
72246
72602
|
{
|
|
72247
72603
|
description: "Up to 4 comma-separated tags. Later tags are dropped.",
|
|
@@ -72261,6 +72617,12 @@ var DEVTO_PUBLISHING_SETTINGS = [
|
|
|
72261
72617
|
label: "Series",
|
|
72262
72618
|
type: "string"
|
|
72263
72619
|
},
|
|
72620
|
+
{
|
|
72621
|
+
description: "Numeric id of a Dev.to organization the API key owner belongs to. The article is published under that organization instead of the personal profile. Leave empty to publish as the author.",
|
|
72622
|
+
key: DEVTO_ORGANIZATION_ID_SETTING_KEY,
|
|
72623
|
+
label: "Organization id",
|
|
72624
|
+
type: "number"
|
|
72625
|
+
},
|
|
72264
72626
|
{
|
|
72265
72627
|
defaultValue: false,
|
|
72266
72628
|
description: "Create the article as a private Dev.to draft (published: false) instead of publishing it. Open it in the Dev.to editor to review and publish.",
|
|
@@ -73358,13 +73720,17 @@ function isSameReply(a, b) {
|
|
|
73358
73720
|
const right = comparisonKey(b);
|
|
73359
73721
|
return left === right || left.startsWith(right) || right.startsWith(left);
|
|
73360
73722
|
}
|
|
73723
|
+
function withoutSplitCharacter(value) {
|
|
73724
|
+
const last = value.charCodeAt(value.length - 1);
|
|
73725
|
+
return last >= 55296 && last <= 56319 ? value.slice(0, -1) : value;
|
|
73726
|
+
}
|
|
73361
73727
|
function truncateToChannelLimit(text, maxCharacters, usesWeightedCharacters) {
|
|
73362
73728
|
const fits = (value) => measureChannelText(value, usesWeightedCharacters) <= maxCharacters;
|
|
73363
73729
|
if (fits(text))
|
|
73364
73730
|
return text;
|
|
73365
|
-
let candidate = text.slice(0, maxCharacters);
|
|
73731
|
+
let candidate = withoutSplitCharacter(text.slice(0, maxCharacters));
|
|
73366
73732
|
while (candidate.length > 0 && !fits(candidate)) {
|
|
73367
|
-
candidate = candidate.slice(0, -1);
|
|
73733
|
+
candidate = withoutSplitCharacter(candidate.slice(0, -1));
|
|
73368
73734
|
}
|
|
73369
73735
|
const ends = Array.from(candidate.matchAll(SENTENCE_END), (match) => (match.index ?? 0) + 1);
|
|
73370
73736
|
const sentenceEnd = ends.at(-1);
|
|
@@ -73375,7 +73741,7 @@ function truncateToChannelLimit(text, maxCharacters, usesWeightedCharacters) {
|
|
|
73375
73741
|
let cut = lastSpace > 0 ? candidate.slice(0, lastSpace) : candidate;
|
|
73376
73742
|
cut = cut.replace(TRAILING_SEPARATORS_PATTERN, "");
|
|
73377
73743
|
while (cut.length > 0 && !fits(`${cut}${ELLIPSIS}`)) {
|
|
73378
|
-
cut = cut.slice(0, -1);
|
|
73744
|
+
cut = withoutSplitCharacter(cut.slice(0, -1));
|
|
73379
73745
|
}
|
|
73380
73746
|
return cut.length > 0 ? `${cut}${ELLIPSIS}` : "";
|
|
73381
73747
|
}
|
|
@@ -87327,14 +87693,24 @@ var OVERLAP_QUERY_TOOLS = [
|
|
|
87327
87693
|
},
|
|
87328
87694
|
{
|
|
87329
87695
|
creditCost: 0,
|
|
87330
|
-
description: "Get trending topics and content ideas
|
|
87696
|
+
description: "Get trending topics and content ideas for the brand's niche (its keywords, hashtags, categories or description), across social media and news. A brand with no niche, or no match, gets an empty list and a note saying what to fill in, never the shared market feed; pass relevance=market for that feed. 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
87697
|
name: "get_trends",
|
|
87332
87698
|
parameters: {
|
|
87333
87699
|
properties: {
|
|
87700
|
+
brandId: {
|
|
87701
|
+
description: "Brand whose niche to read. Omit to use the thread's brand, or the organization's only brand; with several brands and no thread brand, the call asks for one.",
|
|
87702
|
+
type: "string"
|
|
87703
|
+
},
|
|
87334
87704
|
platform: {
|
|
87335
87705
|
description: "Limit to one platform (instagram, linkedin, pinterest, reddit, tiktok, twitter, youtube). Omit to get trends from every platform.",
|
|
87336
87706
|
type: "string"
|
|
87337
87707
|
},
|
|
87708
|
+
relevance: {
|
|
87709
|
+
default: "brand",
|
|
87710
|
+
description: "brand (default) returns only trends that match the brand's niche. market returns the shared feed every brand sees, whatever the niche.",
|
|
87711
|
+
enum: ["brand", "market"],
|
|
87712
|
+
type: "string"
|
|
87713
|
+
},
|
|
87338
87714
|
timeframe: {
|
|
87339
87715
|
default: "24h",
|
|
87340
87716
|
description: "Only trends refreshed within this window. Every trend carries its updatedAt.",
|
package/package.json
CHANGED