Give the model an image and it will attempt to generate a copy using Claude and Flux dev
Default: "AI"
Human-readable string describing the time frame you're interested in.
Default: "past week"
Approximate duration of the podcast in seconds
Default: 60
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run pipelines-beta/hn-podcast using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { topic: "AI", duration: 60, time_frame: "past week" }; const output = await replicate.run("pipelines-beta/hn-podcast", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
import replicate
output = replicate.run( "pipelines-beta/hn-podcast", input={ "topic": "AI", "duration": 60, "time_frame": "past week" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "topic": "AI", "duration": 60, "time_frame": "past week" } }' \ https://api.replicate.com/v1/models/pipelines-beta/hn-podcast/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
{ "completed_at": "2025-05-06T13:48:35.830439Z", "created_at": "2025-05-06T13:45:34.580000Z", "data_removed": false, "error": null, "id": "meqm4v9yehrme0cpmqcby6jdj4", "input": { "topic": "AI", "duration": 60, "time_frame": "past week" }, "logs": null, "metrics": { "predict_time": 160.255703182, "total_time": 181.250439 }, "output": "https://replicate.delivery/xezq/FAwAjCpD0Fp4GVgMsefdQt6kHBs9na66T9qLmdaJp2bzU8pUA/output.mp3", "started_at": "2025-05-06T13:45:55.574736Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-xkipvop465p27zd4zwm5zfvxs5nggebgnnigzojndotejniolspq", "get": "https://api.replicate.com/v1/predictions/meqm4v9yehrme0cpmqcby6jdj4", "cancel": "https://api.replicate.com/v1/predictions/meqm4v9yehrme0cpmqcby6jdj4/cancel", "root": "https://api.replicate.com/v1/predictions/meqm4v9yehrme0cpmqcby6jdj4", "children": "https://api.replicate.com/v1/predictions/meqm4v9yehrme0cpmqcby6jdj4/children" }, "version": "hidden" }
This model doesn't have a readme.
This model costs approximately $0.139775 to run on Replicate, but this may vary depending on the model and your inputs.