@picsart/ai-sdk 5.37.0 → 5.37.1

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.
Files changed (2) hide show
  1. package/index.js +7 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6558,9 +6558,12 @@ var { MODELS: MODELS24 } = defineModels("elevenlabs", [
6558
6558
  },
6559
6559
  // ── Music ─────────────────────────────────────────────────────────
6560
6560
  {
6561
+ // `modelId` is the pricing-catalog key, not the vendor id: the vendor's bare
6562
+ // `music_v2` is not vendor-scoped, so pricing carries the `eleven_` prefix.
6563
+ // The worker still receives `model_id: 'music_v2'` from the payload builder.
6561
6564
  id: "elevenlabs-music-v2",
6562
6565
  name: "ElevenLabs Music v2",
6563
- modelId: "music_v2",
6566
+ modelId: "eleven_music_v2",
6564
6567
  addedAt: "2026-07-02",
6565
6568
  workflow: "elevenlabs/v1/music-generation",
6566
6569
  estimatedTime: 30,
@@ -6702,6 +6705,9 @@ var { MODELS: MODELS24 } = defineModels("elevenlabs", [
6702
6705
  {
6703
6706
  id: "eleven-voice-create",
6704
6707
  name: "Eleven Voice Previews",
6708
+ // Pricing registers this operation as `eleven-voice-create-previews`, which
6709
+ // does not match the model id — without the hint the credits lookup misses.
6710
+ modelId: "eleven-voice-create-previews",
6705
6711
  addedAt: "2026-03-24",
6706
6712
  workflow: "elevenlabs/v1/voice-create-previews",
6707
6713
  buildPayload: buildElevenLabsVoicePreviewsPayload,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@picsart/ai-sdk",
3
- "version": "5.37.0",
3
+ "version": "5.37.1",
4
4
  "type": "module",
5
5
  "description": "Type-safe SDK for 100+ AI models — image, video, audio, and text generation with Picsart",
6
6
  "license": "MIT",