Skip to content

Commit 6269c30

Browse files
committed
Add started_at timestamp to fix time estimation
1 parent 767087e commit 6269c30

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

openapi.yaml

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ paths:
173173
# Docs for v2 can be found by changing the above selector ^
174174
from together import Together
175175
import os
176-
176+
177177
client = Together(
178178
api_key=os.environ.get("TOGETHER_API_KEY"),
179179
)
@@ -208,7 +208,7 @@ paths:
208208
const client = new Together({
209209
apiKey: process.env.TOGETHER_API_KEY,
210210
});
211-
211+
212212
const response = await client.videos.create({
213213
model: "together/video-model",
214214
prompt: "A cartoon of an astronaut riding a horse on the moon",
@@ -2897,7 +2897,7 @@ paths:
28972897
audio_data = bytearray()
28982898
async for message in ws:
28992899
data = json.loads(message)
2900-
2900+
29012901
if data["type"] == "conversation.item.input_text.received":
29022902
print(f"Text received: {data['text']}")
29032903
elif data["type"] == "conversation.item.audio_output.delta":
@@ -2947,7 +2947,7 @@ paths:
29472947
29482948
if (message.type === 'session.created') {
29492949
console.log(`Session created: ${message.session.id}`);
2950-
2950+
29512951
// Send text chunks
29522952
const textChunks = [
29532953
"Hello, this is a test.",
@@ -3017,7 +3017,7 @@ paths:
30173017
type: string
30183018
default: tara
30193019
description: |
3020-
The voice to use for speech generation. Default is 'tara'.
3020+
The voice to use for speech generation. Default is 'tara'.
30213021
Available voices vary by model. Can also be updated via `tts_session.updated` event.
30223022
- in: query
30233023
name: max_partial_length
@@ -3026,7 +3026,7 @@ paths:
30263026
type: integer
30273027
default: 250
30283028
description: |
3029-
Maximum number of characters in partial text before forcing TTS generation
3029+
Maximum number of characters in partial text before forcing TTS generation
30303030
even without a sentence ending. Helps reduce latency for long text without punctuation.
30313031
responses:
30323032
'101':
@@ -5336,8 +5336,8 @@ components:
53365336
type: string
53375337
name:
53385338
type: string
5339-
5340-
ListAvailibilityZonesResponse:
5339+
5340+
ListAvailibilityZonesResponse:
53415341
description: List of unique availability zones
53425342
type: object
53435343
required: ['avzones']
@@ -5346,7 +5346,7 @@ components:
53465346
type: array
53475347
items:
53485348
type: string
5349-
5349+
53505350
RerankRequest:
53515351
type: object
53525352
properties:
@@ -7389,6 +7389,8 @@ components:
73897389
type: string
73907390
updated_at:
73917391
type: string
7392+
started_at:
7393+
type: string
73927394
n_epochs:
73937395
type: integer
73947396
n_checkpoints:
@@ -7500,6 +7502,10 @@ components:
75007502
type: string
75017503
format: date-time
75027504
description: Last update timestamp of the fine-tune job
7505+
started_at:
7506+
type: string
7507+
format: date-time
7508+
description: Start timestamp of the current stage of the fine-tune job
75037509
user_id:
75047510
type: string
75057511
description: Identifier for the user who created the job
@@ -9042,7 +9048,7 @@ components:
90429048
type: string
90439049
description: Similar to prompt, but specifies what to avoid instead of what to include
90449050
frame_images:
9045-
description: Array of images to guide video generation, similar to keyframes.
9051+
description: Array of images to guide video generation, similar to keyframes.
90469052
example:
90479053
- [
90489054
{
@@ -9109,13 +9115,13 @@ components:
91099115
description: The object type, which is always video.
91109116
type: string
91119117
enum:
9112-
- video
9113-
model:
9118+
- video
9119+
model:
91149120
type: string
91159121
description: The video generation model that produced the job.
91169122
status:
91179123
$ref: '#/components/schemas/VideoStatus'
9118-
description: Current lifecycle status of the video job.
9124+
description: Current lifecycle status of the video job.
91199125
created_at:
91209126
type: number
91219127
description: Unix timestamp (seconds) for when the job was created.
@@ -9132,9 +9138,9 @@ components:
91329138
description: Error payload that explains why generation failed, if applicable.
91339139
type: object
91349140
properties:
9135-
code:
9141+
code:
91369142
type: string
9137-
message:
9143+
message:
91389144
type: string
91399145
required:
91409146
- message

0 commit comments

Comments
 (0)