Default: "dark ambient, suspenseful synth pads, distorted analog sounds, eerie drones, vintage horror soundtrack, found footage style, subtle dissonance, low rumbling bass"
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 pipeline-examples/hunyuan-glitch using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { music_prompt: "dark ambient, suspenseful synth pads, distorted analog sounds, eerie drones, vintage horror soundtrack, found footage style, subtle dissonance, low rumbling bass" }; const output = await replicate.run("pipeline-examples/hunyuan-glitch", { 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( "pipeline-examples/hunyuan-glitch", input={ "music_prompt": "dark ambient, suspenseful synth pads, distorted analog sounds, eerie drones, vintage horror soundtrack, found footage style, subtle dissonance, low rumbling bass" } ) # 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": { "music_prompt": "dark ambient, suspenseful synth pads, distorted analog sounds, eerie drones, vintage horror soundtrack, found footage style, subtle dissonance, low rumbling bass" } }' \ https://api.replicate.com/v1/models/pipeline-examples/hunyuan-glitch/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
No output yet! Press "Submit" to start a prediction.
This model doesn't have a readme.
Generate emoji and remove their backgrounds
This model runs on CPU (Small).