Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions public-endpoints/models/seedance-1-5-pro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ response = requests.post(
)

result = response.json()
print(result["output"]["video_url"])
print(result["output"]["result"])
```

```javascript JavaScript
Expand All @@ -127,7 +127,7 @@ const response = await fetch(
);

const result = await response.json();
console.log(result.output.video_url);
console.log(result.output.result);
```
</RequestExample>

Expand All @@ -144,7 +144,7 @@ console.log(result.output.video_url);
<ResponseField name="output" type="object">
The generation result containing the video URL and cost.

<ResponseField name="output.video_url" type="string">
<ResponseField name="output.result" type="string">
Comment thread
promptless[bot] marked this conversation as resolved.
URL of the generated video. This URL expires after 7 days.
</ResponseField>

Expand All @@ -161,7 +161,7 @@ console.log(result.output.video_url);
"delayTime": 25,
"executionTime": 65432,
"output": {
"video_url": "https://video.runpod.ai/abc123/output.mp4",
"result": "https://video.runpod.ai/abc123/output.mp4",
"cost": 0.26
}
}
Expand Down
8 changes: 4 additions & 4 deletions public-endpoints/models/seedance-2-5-i2v.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ response = requests.post(
)

result = response.json()
print(result["output"]["video_url"])
print(result["output"]["result"])
```

```javascript JavaScript
Expand All @@ -117,7 +117,7 @@ const response = await fetch(
);

const result = await response.json();
console.log(result.output.video_url);
console.log(result.output.result);
```
</RequestExample>

Expand All @@ -134,7 +134,7 @@ console.log(result.output.video_url);
<ResponseField name="output" type="object">
The generation result containing the video URL and cost.

<ResponseField name="output.video_url" type="string">
<ResponseField name="output.result" type="string">
Comment thread
promptless[bot] marked this conversation as resolved.
URL of the generated video. This URL expires after 7 days.
</ResponseField>

Expand All @@ -151,7 +151,7 @@ console.log(result.output.video_url);
"delayTime": 25,
"executionTime": 98765,
"output": {
"video_url": "https://video.runpod.ai/abc123/output.mp4",
"result": "https://video.runpod.ai/abc123/output.mp4",
"cost": 1.8
}
}
Expand Down
8 changes: 4 additions & 4 deletions public-endpoints/models/seedance-2-5-t2v.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ response = requests.post(
)

result = response.json()
print(result["output"]["video_url"])
print(result["output"]["result"])
```

```javascript JavaScript
Expand All @@ -118,7 +118,7 @@ const response = await fetch(
);

const result = await response.json();
console.log(result.output.video_url);
console.log(result.output.result);
Comment thread
promptless[bot] marked this conversation as resolved.
```
</RequestExample>

Expand All @@ -135,7 +135,7 @@ console.log(result.output.video_url);
<ResponseField name="output" type="object">
The generation result containing the video URL and cost.

<ResponseField name="output.video_url" type="string">
<ResponseField name="output.result" type="string">
Comment thread
promptless[bot] marked this conversation as resolved.
URL of the generated video. This URL expires after 7 days.
</ResponseField>

Expand All @@ -152,7 +152,7 @@ console.log(result.output.video_url);
"delayTime": 25,
"executionTime": 98765,
"output": {
"video_url": "https://video.runpod.ai/abc123/output.mp4",
"result": "https://video.runpod.ai/abc123/output.mp4",
"cost": 1.8
}
}
Expand Down
Loading