We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 606c6b9 commit f753633Copy full SHA for f753633
src/resources/workers/ai.ts
@@ -339,17 +339,40 @@ export namespace AIRunParams {
339
/**
340
* Body param:
341
*/
342
- image?: Array<number>;
+ image: Array<number>;
343
344
345
346
347
max_tokens?: number;
348
349
+ /**
350
+ * Body param:
351
+ */
352
+ messages?: Array<AIRunParams.ImageToText.Message>;
353
+
354
355
356
357
prompt?: string;
358
359
360
361
362
+ raw?: boolean;
363
364
365
366
367
+ temperature?: number;
368
+ }
369
370
+ export namespace ImageToText {
371
+ export interface Message {
372
+ content: string;
373
374
+ role: string;
375
376
}
377
378
0 commit comments