typefile
{
"context_hint": "",
"video": "https://replicate.delivery/pbxt/NL8j5zsQ9ABDNQKvtUwjWm0YVueSfpqCRBIT1LTTTgoUi8XY/114_no_audio.mp4"
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_N4M**********************************
This is your API token. Keep it to yourself.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run zsxkib/smart-thinksound using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = {
context_hint: "",
video: "https://replicate.delivery/pbxt/NL8j5zsQ9ABDNQKvtUwjWm0YVueSfpqCRBIT1LTTTgoUi8XY/114_no_audio.mp4"
};
const output = await replicate.run("zsxkib/smart-thinksound", { 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
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_N4M**********************************
This is your API token. Keep it to yourself.
import replicate
Run zsxkib/smart-thinksound using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"zsxkib/smart-thinksound",
input={
"context_hint": "",
"video": "https://replicate.delivery/pbxt/NL8j5zsQ9ABDNQKvtUwjWm0YVueSfpqCRBIT1LTTTgoUi8XY/114_no_audio.mp4"
}
)
# 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.
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_N4M**********************************
This is your API token. Keep it to yourself.
Run zsxkib/smart-thinksound using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \
-H "Authorization: Bearer $REPLICATE_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Prefer: wait" \
-d $'{
"input": {
"context_hint": "",
"video": "https://replicate.delivery/pbxt/NL8j5zsQ9ABDNQKvtUwjWm0YVueSfpqCRBIT1LTTTgoUi8XY/114_no_audio.mp4"
}
}' \
https://api.replicate.com/v1/models/zsxkib/smart-thinksound/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "2w71nsf78nrmc0cqz8nv64wjsm",
"model": "zsxkib/smart-thinksound",
"version": "hidden",
"input": {
"context_hint": "",
"video": "https://replicate.delivery/pbxt/NL8j5zsQ9ABDNQKvtUwjWm0YVueSfpqCRBIT1LTTTgoUi8XY/114_no_audio.mp4"
},
"logs": "📹 Extracting frame from 4.6s (middle of 9.2s video)\n🤖 Analyzing frame with Claude...\n👁️ Frame analyzed, generating audio prompts...\n🎨 Generating professional audio prompts...\n==================================================\n🎬 GENERATED AUDIO PROMPTS:\n==================================================\n📝 CAPTION: Acoustic Guitar Playing\n\n🧠 CHAIN-OF-THOUGHT:\nBegin with the warm, resonant tones of acoustic guitar strings being plucked or strummed, creating rich harmonic overtones that resonate through the wooden body. Add subtle finger sliding sounds across the metal strings as the hand shifts between chord positions on the ornate fretboard. Include gentle fret contact sounds - soft clicks and taps as fingertips press strings against the metal frets. Layer in the natural string vibration decay and the hollow body resonance that gives acoustic guitars their characteristic warmth. Add occasional soft squeaks from finger movements along the wound strings, creating an authentic intimate playing atmosphere with natural room ambience.\n==================================================\n🎵 Generating audio with thinksound...\n✅ Audio generation complete!",
"output": "https://replicate.delivery/xezq/fpt97GQvKej4VkadUizz84xsWQmfw6lJoRpflVeOutKXKy9nC/tmpbqcd3hk4.mp4",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-07-11T15:47:50.725Z",
"started_at": "2025-07-11T15:47:56.310384Z",
"completed_at": "2025-07-11T15:48:34.286757Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/2w71nsf78nrmc0cqz8nv64wjsm/cancel",
"children": "https://api.replicate.com/v1/predictions/2w71nsf78nrmc0cqz8nv64wjsm/children",
"get": "https://api.replicate.com/v1/predictions/2w71nsf78nrmc0cqz8nv64wjsm",
"root": "https://api.replicate.com/v1/predictions/2w71nsf78nrmc0cqz8nv64wjsm",
"stream": "https://stream.replicate.com/v1/files/bcwr-pqvcwksaflcqofme4lhaqkdb3roh6fnnawfddojozgtb3llte52a",
"web": "https://replicate.com/p/2w71nsf78nrmc0cqz8nv64wjsm"
},
"metrics": {
"predict_time": 37.976373417,
"total_time": 43.561757
}
}