You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -39,13 +39,13 @@ An object containing the following properties:
39
39
40
40
A boolean indicating whether you want to use the test API. Defaults to `false`. This is useful for testing your code without using up API credits.
41
41
42
-
#### `image` (String | File)
42
+
#### `media` (String | File)
43
43
44
-
A string containing the URL or Puter path of the image, or a `File` object containing the image you want to provide as context for the completion.
44
+
A string containing the URL or Puter path of an image or video, or a `File` object containing the media you want to provide as context for the completion.
45
45
46
-
#### `imageURLArray` (Array)
46
+
#### `mediaURLArray` (Array)
47
47
48
-
An array of strings containing the URLs of images you want to provide as context for the completion.
48
+
An array of strings containing the URLs of images or videos you want to provide as context for the completion.
49
49
50
50
#### `messages` (Array)
51
51
@@ -216,6 +216,23 @@ You can find the implementation in our [prompt caching example](/playground/ai-c
0 commit comments