Skip to content

Commit 0d80657

Browse files
feat: add dots in some parameter descs
1 parent 0c6edf1 commit 0d80657

3 files changed

Lines changed: 19 additions & 19 deletions

File tree

packages/openapi/descriptions/image.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default {
1010
desc: `Number of image variations to generate. Each image is a different attempt to combine the reference images (from the image_url parameter) according to the prompt.`,
1111
},
1212
flux_realism: {
13-
desc: `The number of images to generate. This is always set to 1 for streaming output. Default value: 1`,
13+
desc: `The number of images to generate. This is always set to 1 for streaming output. Default value: 1.`,
1414
},
1515
},
1616
seed: {
@@ -116,7 +116,7 @@ export default {
116116
If transparent, the output format needs to support transparency, so it should be set to either png (default value) or webp.`,
117117
},
118118
moderation: {
119-
desc: `Control the content-moderation level for images`,
119+
desc: `Control the content-moderation level for images.`,
120120
},
121121
output_compression: {
122122
desc: `The compression level (0-100%) for the generated images.`,

packages/openapi/descriptions/response-api.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default {
22
background: {
3-
desc: `Whether to run the model response in the background`,
3+
desc: `Whether to run the model response in the background.`,
44
},
55
include: {
66
desc: `Specify additional output data to include in the model response. Currently supported values are:
@@ -200,7 +200,7 @@ export default {
200200
desc: `Specifies the event type. For a double click action, this property is always set to double_click.`,
201201
},
202202
x: {
203-
desc: `The x-coordinate where the double click occurred..`,
203+
desc: `The x-coordinate where the double click occurred.`,
204204
},
205205
y: {
206206
desc: `The y-coordinate where the double click occurred.`,
@@ -364,7 +364,7 @@ export default {
364364
desc: `A JSON string of the arguments to pass to the function.`,
365365
},
366366
name: {
367-
desc: `The name of the function to run. `,
367+
desc: `The name of the function to run.`,
368368
},
369369
type: {
370370
desc: `The type of the function tool call. Always function_call.`,
@@ -373,7 +373,7 @@ export default {
373373
desc: `The unique ID of the function tool call.`,
374374
},
375375
status: {
376-
desc: `The status of the item. `,
376+
desc: `The status of the item.`,
377377
},
378378
},
379379
function_tool_call_output: {
@@ -391,11 +391,11 @@ export default {
391391
desc: `The unique ID of the function tool call output. Populated when this item is returned via API.`,
392392
},
393393
status: {
394-
desc: `The status of the item. `,
394+
desc: `The status of the item.`,
395395
},
396396
},
397397
reasoning: {
398-
desc: `A description of the chain of thought used by a reasoning model while generating a response. `,
398+
desc: `A description of the chain of thought used by a reasoning model while generating a response.`,
399399
id: {
400400
desc: `The unique identifier of the reasoning content.`,
401401
},
@@ -568,7 +568,7 @@ export default {
568568
desc: `The type of the item. Always mcp_approval_response.`,
569569
},
570570
id: {
571-
desc: `The unique ID of the approval response`,
571+
desc: `The unique ID of the approval response.`,
572572
},
573573
reason: {
574574
desc: `Optional reason for the decision.`,
@@ -817,7 +817,7 @@ required means the model must call one or more tools.`
817817
allowed_tools: {
818818
desc: `List of allowed tool names or a filter object.`,
819819
mcp_allowed_tools: {
820-
desc: `A string array of allowed tool names`,
820+
desc: `A string array of allowed tool names.`,
821821
},
822822
mcp_allowed_tools_filter: {
823823
desc: `A filter object to specify which tools are allowed.`,

packages/openapi/descriptions/video.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default {
2626
desc: `URL of the input image to animate. Should be 720p or higher resolution.`,
2727
},
2828
images: {
29-
desc: `Reference images for dual-character effects (Base64 encoded or URL)`,
29+
desc: `Reference images for dual-character effects (Base64 encoded or URL).`,
3030
},
3131
sora: {
3232
desc: `A URL or a Base64-encoded image file used as the initial frame for video generation.
@@ -194,16 +194,16 @@ Supported configurations include:
194194
desc: `The style of the generated video.`,
195195
},
196196
num_frames: {
197-
desc: `Number of frames to generate. Must be between 81 to 241 (inclusive)`,
197+
desc: `Number of frames to generate. Must be between 81 to 241 (inclusive).`,
198198
krea: {
199-
desc: `Number of frames to generate. Must be a multiple of 12 plus 6, for example 18, 30, 42, etc`,
199+
desc: `Number of frames to generate. Must be a multiple of 12 plus 6, for example 18, 30, 42, etc.`,
200200
},
201201
},
202202
match_input_frames_per_second: {
203203
desc: `Whether to match the input video's frames per second (FPS).`,
204204
},
205205
frames_per_second: {
206-
desc: `Frames per second of the generated video. Must be between 5 to 30`,
206+
desc: `Frames per second of the generated video. Must be between 5 to 30.`,
207207
},
208208
preprocess: {
209209
desc: `Whether to preprocess the input video.`,
@@ -218,16 +218,16 @@ Supported configurations include:
218218
desc: `The method used to write the video. Fast, balanced, small are available.`,
219219
},
220220
num_interpolated_frames: {
221-
desc: `Number of frames to interpolate between the original frames`,
221+
desc: `Number of frames to interpolate between the original frames.`,
222222
},
223223
temporal_downsample_factor: {
224-
desc: `Temporal downsample factor for the video`,
224+
desc: `Temporal downsample factor for the video.`,
225225
},
226226
enable_auto_downsample: {
227-
desc: `The minimum frames per second to downsample the video to`,
227+
desc: `The minimum frames per second to downsample the video to.`,
228228
},
229229
auto_downsample_min_fps: {
230-
desc: `The minimum frames per second to downsample the video to`,
230+
desc: `The minimum frames per second to downsample the video to.`,
231231
},
232232
interpolator_model: {
233233
desc: `The model to use for interpolation. Rife, or film are available.`,
@@ -239,7 +239,7 @@ Supported configurations include:
239239
desc: `Array of image URLs (2-4 images) for multi-image-to-video generation.`,
240240
},
241241
auto_fix: {
242-
desc: `Whether to automatically attempt to fix prompts that fail content policy or other validation checks by rewriting them`,
242+
desc: `Whether to automatically attempt to fix prompts that fail content policy or other validation checks by rewriting them.`,
243243
},
244244
strength: {
245245
desc: `Denoising strength for the video-to-video generation. 0.0 preserves the original, 1.0 completely remakes the video.`,

0 commit comments

Comments
 (0)