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
{{ message }}
Repository navigation
Commit f6e0c2d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/ai/README.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1087,7 +1087,9 @@ const program = Effect.gen(function* () {
1087
1087
1088
1088
The shared fields are `prompt`, `start`, `end`, `references`, `duration`, `aspect`, `resolution` and `sound`;
1089
1089
everything else is provider-specific and goes under `providerOptions`, typed from the selected model. A request only
1090
-
fails before sending when its protocol has no way to express it, such as a reference video on xAI. Values the provider
1090
+
fails before sending when its protocol has no way to express it, such as a reference video on xAI. `sound` is the
1091
+
exception: on models whose sound can't be switched (MiniMax H3 and Gemini Omni always have it, Hailuo never does) it
1092
+
isn't sent, and the model's own behavior applies. Values the provider
1091
1093
may reject, like an unsupported duration or too many references, go to the provider, and its error comes back typed.
1092
1094
1093
1095
`start` and `end` are images. They take a URL, data URL, base64 string or bytes, or an asset built with
@@ -1131,19 +1133,19 @@ Provider notes:
1131
1133
`/v1`, and a bare host (`https://api.minimax.io`) works as is. On H3, `start`, `end` and `references` become `content[]` items with `first_frame`, `last_frame` and `reference_image` /
0 commit comments