@acedatacloud/sdk 2026.1019.0 → 2026.1101.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/resources/aichat.ts +2 -0
- package/src/resources/providers/suno.ts +1 -1
package/README.md
CHANGED
|
@@ -181,6 +181,23 @@ with integer billed seconds capped at the requested duration (falling back to
|
|
|
181
181
|
that duration if it cannot be read). All scenarios, actions, and languages have
|
|
182
182
|
the same rate; failed tasks and `/maestro/tasks` polling are free.
|
|
183
183
|
|
|
184
|
+
## Suno music processing
|
|
185
|
+
|
|
186
|
+
Use `client.suno.generate({ custom: true, lyric, style, negativeTags })` for
|
|
187
|
+
custom-mode music. `negativeTags` describes styles or genres to exclude; there
|
|
188
|
+
is currently no fixed character limit, but overly long input may still fail,
|
|
189
|
+
so keep it concise. The SDK sends it as `negative_tags` without truncation.
|
|
190
|
+
|
|
191
|
+
A downloadable audio file does not guarantee that its `audio_id` remains usable
|
|
192
|
+
for covers, extensions or stem separation. If processing returns
|
|
193
|
+
`suno_processing_unavailable`, keep the original `task_id` (the task handle's
|
|
194
|
+
`id`, when available) and the error's `traceId` for support. The related codes
|
|
195
|
+
`suno_model_unavailable` and `suno_processing_failed` mean the selected model is
|
|
196
|
+
unavailable for that operation or processing returned no audio, respectively.
|
|
197
|
+
These HTTP 500 errors retain their `code`, `traceId` and `body` on `APIError`.
|
|
198
|
+
Retrieve an existing task rather than submitting a replacement generation just
|
|
199
|
+
to check its result.
|
|
200
|
+
|
|
184
201
|
## Fish voice models
|
|
185
202
|
|
|
186
203
|
`client.fish.model({ title, voices: audioUrl })` creates a reusable voice from a
|
|
@@ -308,6 +325,15 @@ You can still pass a Bearer token alongside the handler if you want a
|
|
|
308
325
|
mixed mode (some endpoints via subscription, others via x402) — the
|
|
309
326
|
SDK only invokes the handler when it actually sees a `402`.
|
|
310
327
|
|
|
328
|
+
The companion TypeScript/Python signers also support Arbitrum One
|
|
329
|
+
(`network: 'arbitrum'` or `'eip155:42161'`) for `exact` payments with native USDC
|
|
330
|
+
(6 decimals), not bridged USDC. Availability is rolled out per network: only
|
|
331
|
+
select Arbitrum when the server's current `accepts` offers it. A configured
|
|
332
|
+
signer does not enable the network on the server. Use the returned payment
|
|
333
|
+
requirements and price rather than hard-coding an amount; the SDK forwards
|
|
334
|
+
`accepts` unchanged to the handler. The wallet must support and hold funds on
|
|
335
|
+
the target chain.
|
|
336
|
+
|
|
311
337
|
## License
|
|
312
338
|
|
|
313
339
|
MIT
|
package/dist/index.d.mts
CHANGED
|
@@ -131,7 +131,7 @@ declare class Transport {
|
|
|
131
131
|
|
|
132
132
|
/** AI Chat resources — aichat/conversations endpoint. */
|
|
133
133
|
|
|
134
|
-
type AiChatModel = 'gpt-5.6-sol-fast' | 'gpt-5.5' | 'gpt-5.5-pro' | 'gpt-5.4' | 'gpt-5.4-pro' | 'gpt-5.2' | 'gpt-5.1' | 'gpt-5.1-all' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5-all' | 'gpt-4' | 'gpt-4-all' | 'gpt-4-turbo' | 'gpt-4-turbo-preview' | 'gpt-4-vision-preview' | 'gpt-4.1' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-nano' | 'gpt-4.1-nano-2025-04-14' | 'gpt-4.5-preview' | 'gpt-4.5-preview-2025-02-27' | 'gpt-4o' | 'gpt-4o-2024-05-13' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-11-20' | 'gpt-4o-all' | 'gpt-4o-image' | 'gpt-4o-mini' | 'gpt-4o-mini-2024-07-18' | 'gpt-4o-mini-search-preview' | 'gpt-4o-mini-search-preview-2025-03-11' | 'gpt-4o-search-preview' | 'gpt-4o-search-preview-2025-03-11' | 'o1' | 'o1-2024-12-17' | 'o1-all' | 'o1-mini' | 'o1-mini-2024-09-12' | 'o1-mini-all' | 'o1-preview' | 'o1-preview-2024-09-12' | 'o1-preview-all' | 'o1-pro' | 'o1-pro-2025-03-19' | 'o1-pro-all' | 'o3' | 'o3-2025-04-16' | 'o3-all' | 'o3-mini' | 'o3-mini-2025-01-31' | 'o3-mini-2025-01-31-high' | 'o3-mini-2025-01-31-low' | 'o3-mini-2025-01-31-medium' | 'o3-mini-all' | 'o3-mini-high' | 'o3-mini-high-all' | 'o3-mini-low' | 'o3-mini-medium' | 'o3-pro' | 'o3-pro-2025-06-10' | 'o4-mini' | 'o4-mini-2025-04-16' | 'o4-mini-all' | 'o4-mini-high-all' | 'deepseek-r1' | 'deepseek-r1-0528' | 'deepseek-v3' | 'deepseek-v3-250324' | 'deepseek-v4-flash' | 'grok-3' | 'glm-5.1' | 'glm-4.7' | 'glm-4.6' | 'glm-3-turbo' | (string & {});
|
|
134
|
+
type AiChatModel = 'mimo-v2.6-pro' | 'mimo-v2.6-flash' | 'gpt-5.6-sol-fast' | 'gpt-5.5' | 'gpt-5.5-pro' | 'gpt-5.4' | 'gpt-5.4-pro' | 'gpt-5.2' | 'gpt-5.1' | 'gpt-5.1-all' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5-all' | 'gpt-4' | 'gpt-4-all' | 'gpt-4-turbo' | 'gpt-4-turbo-preview' | 'gpt-4-vision-preview' | 'gpt-4.1' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-nano' | 'gpt-4.1-nano-2025-04-14' | 'gpt-4.5-preview' | 'gpt-4.5-preview-2025-02-27' | 'gpt-4o' | 'gpt-4o-2024-05-13' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-11-20' | 'gpt-4o-all' | 'gpt-4o-image' | 'gpt-4o-mini' | 'gpt-4o-mini-2024-07-18' | 'gpt-4o-mini-search-preview' | 'gpt-4o-mini-search-preview-2025-03-11' | 'gpt-4o-search-preview' | 'gpt-4o-search-preview-2025-03-11' | 'o1' | 'o1-2024-12-17' | 'o1-all' | 'o1-mini' | 'o1-mini-2024-09-12' | 'o1-mini-all' | 'o1-preview' | 'o1-preview-2024-09-12' | 'o1-preview-all' | 'o1-pro' | 'o1-pro-2025-03-19' | 'o1-pro-all' | 'o3' | 'o3-2025-04-16' | 'o3-all' | 'o3-mini' | 'o3-mini-2025-01-31' | 'o3-mini-2025-01-31-high' | 'o3-mini-2025-01-31-low' | 'o3-mini-2025-01-31-medium' | 'o3-mini-all' | 'o3-mini-high' | 'o3-mini-high-all' | 'o3-mini-low' | 'o3-mini-medium' | 'o3-pro' | 'o3-pro-2025-06-10' | 'o4-mini' | 'o4-mini-2025-04-16' | 'o4-mini-all' | 'o4-mini-high-all' | 'deepseek-r1' | 'deepseek-r1-0528' | 'deepseek-v3' | 'deepseek-v3-250324' | 'deepseek-v4-flash' | 'grok-3' | 'glm-5.1' | 'glm-4.7' | 'glm-4.6' | 'glm-3-turbo' | (string & {});
|
|
135
135
|
declare class AiChat {
|
|
136
136
|
private transport;
|
|
137
137
|
constructor(transport: Transport);
|
package/dist/index.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ declare class Transport {
|
|
|
131
131
|
|
|
132
132
|
/** AI Chat resources — aichat/conversations endpoint. */
|
|
133
133
|
|
|
134
|
-
type AiChatModel = 'gpt-5.6-sol-fast' | 'gpt-5.5' | 'gpt-5.5-pro' | 'gpt-5.4' | 'gpt-5.4-pro' | 'gpt-5.2' | 'gpt-5.1' | 'gpt-5.1-all' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5-all' | 'gpt-4' | 'gpt-4-all' | 'gpt-4-turbo' | 'gpt-4-turbo-preview' | 'gpt-4-vision-preview' | 'gpt-4.1' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-nano' | 'gpt-4.1-nano-2025-04-14' | 'gpt-4.5-preview' | 'gpt-4.5-preview-2025-02-27' | 'gpt-4o' | 'gpt-4o-2024-05-13' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-11-20' | 'gpt-4o-all' | 'gpt-4o-image' | 'gpt-4o-mini' | 'gpt-4o-mini-2024-07-18' | 'gpt-4o-mini-search-preview' | 'gpt-4o-mini-search-preview-2025-03-11' | 'gpt-4o-search-preview' | 'gpt-4o-search-preview-2025-03-11' | 'o1' | 'o1-2024-12-17' | 'o1-all' | 'o1-mini' | 'o1-mini-2024-09-12' | 'o1-mini-all' | 'o1-preview' | 'o1-preview-2024-09-12' | 'o1-preview-all' | 'o1-pro' | 'o1-pro-2025-03-19' | 'o1-pro-all' | 'o3' | 'o3-2025-04-16' | 'o3-all' | 'o3-mini' | 'o3-mini-2025-01-31' | 'o3-mini-2025-01-31-high' | 'o3-mini-2025-01-31-low' | 'o3-mini-2025-01-31-medium' | 'o3-mini-all' | 'o3-mini-high' | 'o3-mini-high-all' | 'o3-mini-low' | 'o3-mini-medium' | 'o3-pro' | 'o3-pro-2025-06-10' | 'o4-mini' | 'o4-mini-2025-04-16' | 'o4-mini-all' | 'o4-mini-high-all' | 'deepseek-r1' | 'deepseek-r1-0528' | 'deepseek-v3' | 'deepseek-v3-250324' | 'deepseek-v4-flash' | 'grok-3' | 'glm-5.1' | 'glm-4.7' | 'glm-4.6' | 'glm-3-turbo' | (string & {});
|
|
134
|
+
type AiChatModel = 'mimo-v2.6-pro' | 'mimo-v2.6-flash' | 'gpt-5.6-sol-fast' | 'gpt-5.5' | 'gpt-5.5-pro' | 'gpt-5.4' | 'gpt-5.4-pro' | 'gpt-5.2' | 'gpt-5.1' | 'gpt-5.1-all' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5-all' | 'gpt-4' | 'gpt-4-all' | 'gpt-4-turbo' | 'gpt-4-turbo-preview' | 'gpt-4-vision-preview' | 'gpt-4.1' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-nano' | 'gpt-4.1-nano-2025-04-14' | 'gpt-4.5-preview' | 'gpt-4.5-preview-2025-02-27' | 'gpt-4o' | 'gpt-4o-2024-05-13' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-11-20' | 'gpt-4o-all' | 'gpt-4o-image' | 'gpt-4o-mini' | 'gpt-4o-mini-2024-07-18' | 'gpt-4o-mini-search-preview' | 'gpt-4o-mini-search-preview-2025-03-11' | 'gpt-4o-search-preview' | 'gpt-4o-search-preview-2025-03-11' | 'o1' | 'o1-2024-12-17' | 'o1-all' | 'o1-mini' | 'o1-mini-2024-09-12' | 'o1-mini-all' | 'o1-preview' | 'o1-preview-2024-09-12' | 'o1-preview-all' | 'o1-pro' | 'o1-pro-2025-03-19' | 'o1-pro-all' | 'o3' | 'o3-2025-04-16' | 'o3-all' | 'o3-mini' | 'o3-mini-2025-01-31' | 'o3-mini-2025-01-31-high' | 'o3-mini-2025-01-31-low' | 'o3-mini-2025-01-31-medium' | 'o3-mini-all' | 'o3-mini-high' | 'o3-mini-high-all' | 'o3-mini-low' | 'o3-mini-medium' | 'o3-pro' | 'o3-pro-2025-06-10' | 'o4-mini' | 'o4-mini-2025-04-16' | 'o4-mini-all' | 'o4-mini-high-all' | 'deepseek-r1' | 'deepseek-r1-0528' | 'deepseek-v3' | 'deepseek-v3-250324' | 'deepseek-v4-flash' | 'grok-3' | 'glm-5.1' | 'glm-4.7' | 'glm-4.6' | 'glm-3-turbo' | (string & {});
|
|
135
135
|
declare class AiChat {
|
|
136
136
|
private transport;
|
|
137
137
|
constructor(transport: Transport);
|