text.generate_titles
Operation: text.generate_titles
Category: ai
Tags: ai, youtube, titles, text, seo
Generate viral YouTube title options from a transcript using AI
Runtime
Section titled “Runtime”Type: AI Provider (routed via provider registry)
Timeout: 300s
Retries: 3 (ExponentialWithJitter)
Inputs
Section titled “Inputs”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
transcript | String | Yes | — | Full transcript text |
topic | String | No | — | Video topic or niche for context |
style | String | No | — | Preferred style: clickbait, educational, emotional |
Outputs
Section titled “Outputs”| Name | Type | Description |
|---|---|---|
titles | JSON | Array of {title, style, score} objects |
count | Number | Number of titles generated |
Default Configuration
Section titled “Default Configuration”{ "count": 10, "modality": "text", "provider": "gemini"}import { WorkflowBuilder } from "@fabric-platform/sdk";
const workflow = new WorkflowBuilder("my-workflow") .node("text-generate-titles", "ai_invoke", (n) => n.config({ operation: "text.generate_titles", // ... node-specific config }) ) .build();from fabric_platform import FabricClient
fabric = FabricClient(api_key="fab_xxx")
wf_id = fabric.upsert_workflow("my-workflow", nodes=[ { "key": "text-generate-titles", "kind": "ai_invoke", },])use fabric_sdk::FabricClient;
let client = FabricClient::new("http://localhost:3001", api_key)?;
let wf_id = client.upsert_workflow("my-workflow", serde_json::json!({ "nodes": [{ "key": "text-generate-titles", "kind": "ai_invoke" }]})).await?;curl -X POST http://localhost:3001/v1/workflow-definitions \ -H "Authorization: Bearer $FABRIC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "my-workflow", "nodes": [{ "key": "text-generate-titles", "kind": "ai_invoke" }] }'