Skip to content

Commit 149a9de

Browse files
authored
feat: add new descs
feat: add new descs
2 parents 58cc438 + 57b6191 commit 149a9de

3 files changed

Lines changed: 26 additions & 2 deletions

File tree

packages/openapi/descriptions/image.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,25 @@ If transparent, the output format needs to support transparency, so it should be
155155
desc: `Removes noisy pixels to increase clarity. Can slightly increase image sharpness.`,
156156
},
157157
},
158+
mesh_url: {
159+
desc: `URL of the 3D model file (.glb or .obj) to process for segmentation.`,
160+
},
161+
point_prompt_x: {
162+
desc: `X coordinate of the point prompt for segmentation.`,
163+
},
164+
point_prompt_y: {
165+
desc: `Y coordinate of the point prompt for segmentation.`,
166+
},
167+
point_prompt_z: {
168+
desc: `Z coordinate of the point prompt for segmentation.`,
169+
},
170+
point_num: {
171+
desc: `Number of points to sample from the mesh.`,
172+
},
173+
use_normal: {
174+
desc: `Whether to use normal information for segmentation.`,
175+
},
176+
noise_std: {
177+
desc: `Standard deviation of noise to add to sampled points.`,
178+
},
158179
};

packages/openapi/descriptions/text-to-speech.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default {
7575
desc: `If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed.`,
7676
},
7777
voice_id: {
78-
desc: `Voice identifier for text-to-speech synthesis. Supports both predefined system voices and custom cloned voice IDs. `,
78+
desc: `A predefined system voice for text-to-speech synthesis.`,
7979
},
8080
emotion: {
8181
desc: `Emotional tone to apply to the synthesized speech. Controls the emotional expression of the generated voice output.`,

packages/openapi/descriptions/video.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ Supported configurations include:
133133
},
134134
generate_audio: {
135135
desc: `Whether to generate audio for the video.`,
136+
omnihuman: {
137+
desc: `The URL of the audio file for lip-sync animation. The model detects spoken parts and syncs the character's mouth to them. Audio must be under 30s long.`,
138+
},
136139
},
137140
webhook: {
138141
desc: `The URL to receive a one-time notification when the task is completed. If set, the server will send an HTTP POST request with the final result when the task ends.`,
@@ -163,7 +166,7 @@ Supported configurations include:
163166
desc: `A HTTPS URL pointing to a video or a data URI containing a video. This video will be used as a reference during generation.`,
164167
},
165168
audio_url: {
166-
desc: `The URL of the audio file. Supported formats: MP3, WAV, M4A, AAC. Maximum file size: 5 MB.`
169+
desc: `The URL of the audio file. Supported formats: MP3, WAV, M4A, AAC. Maximum file size: 5 MB.`,
167170
},
168171
frame_size: {
169172
desc: `The width and height of the video.`,

0 commit comments

Comments
 (0)