typetext
{
"prompt": "A majestic African elephant with wrinkled gray skin and long tusks dips its trunk into a calm river at dawn, drawing up water to drink. Mist rises from the surface as the elephant gently sprays water over its back, with birds perching on its hide and golden sunrise hues reflecting on the rippling water. The camera orbits slowly around the scene, highlighting the trunk's precise movements and glistening water droplets."
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_DXO**********************************
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 lucataco/seedance-1-lite-audio using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = {
prompt: "A majestic African elephant with wrinkled gray skin and long tusks dips its trunk into a calm river at dawn, drawing up water to drink. Mist rises from the surface as the elephant gently sprays water over its back, with birds perching on its hide and golden sunrise hues reflecting on the rippling water. The camera orbits slowly around the scene, highlighting the trunk's precise movements and glistening water droplets."
};
const output = await replicate.run("lucataco/seedance-1-lite-audio", { 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_DXO**********************************
This is your API token. Keep it to yourself.
import replicate
Run lucataco/seedance-1-lite-audio using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"lucataco/seedance-1-lite-audio",
input={
"prompt": "A majestic African elephant with wrinkled gray skin and long tusks dips its trunk into a calm river at dawn, drawing up water to drink. Mist rises from the surface as the elephant gently sprays water over its back, with birds perching on its hide and golden sunrise hues reflecting on the rippling water. The camera orbits slowly around the scene, highlighting the trunk's precise movements and glistening water droplets."
}
)
# 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_DXO**********************************
This is your API token. Keep it to yourself.
Run lucataco/seedance-1-lite-audio 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": {
"prompt": "A majestic African elephant with wrinkled gray skin and long tusks dips its trunk into a calm river at dawn, drawing up water to drink. Mist rises from the surface as the elephant gently sprays water over its back, with birds perching on its hide and golden sunrise hues reflecting on the rippling water. The camera orbits slowly around the scene, highlighting the trunk\'s precise movements and glistening water droplets."
}
}' \
https://api.replicate.com/v1/models/lucataco/seedance-1-lite-audio/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "cxr474fnh9rmc0cr06ks3rf260",
"model": "lucataco/seedance-1-lite-audio",
"version": "hidden",
"input": {
"prompt": "A majestic African elephant with wrinkled gray skin and long tusks dips its trunk into a calm river at dawn, drawing up water to drink. Mist rises from the surface as the elephant gently sprays water over its back, with birds perching on its hide and golden sunrise hues reflecting on the rippling water. The camera orbits slowly around the scene, highlighting the trunk's precise movements and glistening water droplets."
},
"logs": "",
"output": "https://replicate.delivery/xezq/MivpuM8urRrWFderw2EUtG0Kr8xB4veeDg9OuVhqZxdq2ZAqA/20250713_024122.mp4",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-07-13T02:40:41.354Z",
"started_at": "2025-07-13T02:40:41.901276Z",
"completed_at": "2025-07-13T02:41:25.433962Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/cxr474fnh9rmc0cr06ks3rf260/cancel",
"children": "https://api.replicate.com/v1/predictions/cxr474fnh9rmc0cr06ks3rf260/children",
"get": "https://api.replicate.com/v1/predictions/cxr474fnh9rmc0cr06ks3rf260",
"root": "https://api.replicate.com/v1/predictions/cxr474fnh9rmc0cr06ks3rf260",
"stream": "https://stream.replicate.com/v1/files/bcwr-yrkgpv5quydraboag2bgdaa3545iovqg4jjrtkewvealrgho5evq",
"web": "https://replicate.com/p/cxr474fnh9rmc0cr06ks3rf260"
},
"metrics": {
"predict_time": 43.532686624,
"total_time": 44.079962
}
}