@blitzreels/sdk 0.1.3 → 0.1.5
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 +25 -0
- package/dist/index.d.ts +771 -40
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +449 -152
- package/dist/index.js.map +1 -1
- package/dist/resources/ai-edit.d.ts +23 -0
- package/dist/resources/ai-edit.d.ts.map +1 -0
- package/dist/resources/ai-edit.js +91 -0
- package/dist/resources/ai-edit.js.map +1 -0
- package/dist/resources/captions.d.ts +40 -0
- package/dist/resources/captions.d.ts.map +1 -0
- package/dist/resources/captions.js +186 -0
- package/dist/resources/captions.js.map +1 -0
- package/dist/resources/common.d.ts +3 -0
- package/dist/resources/common.d.ts.map +1 -0
- package/dist/resources/common.js +2 -0
- package/dist/resources/common.js.map +1 -0
- package/dist/resources/timeline.d.ts +22 -0
- package/dist/resources/timeline.d.ts.map +1 -0
- package/dist/resources/timeline.js +131 -0
- package/dist/resources/timeline.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -107,6 +107,31 @@ await client.media.folders.create({
|
|
|
107
107
|
iconType: "video",
|
|
108
108
|
});
|
|
109
109
|
|
|
110
|
+
const audioResults = await client.audioLibrary.search({
|
|
111
|
+
query: "ambient riser",
|
|
112
|
+
provider: "all",
|
|
113
|
+
license: "cc0",
|
|
114
|
+
audioType: "sound_effect",
|
|
115
|
+
minDurationSeconds: undefined,
|
|
116
|
+
maxDurationSeconds: 12,
|
|
117
|
+
limit: 10,
|
|
118
|
+
page: undefined,
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
await client.audioLibrary.importAsset({
|
|
122
|
+
provider: audioResults.items[0].provider,
|
|
123
|
+
externalId: audioResults.items[0].external_id,
|
|
124
|
+
folderId: undefined,
|
|
125
|
+
projectId: "project_id",
|
|
126
|
+
startSeconds: 0,
|
|
127
|
+
durationSeconds: 12,
|
|
128
|
+
volume: 0.5,
|
|
129
|
+
fadeInSeconds: undefined,
|
|
130
|
+
fadeOutSeconds: undefined,
|
|
131
|
+
loop: true,
|
|
132
|
+
audioType: "sound_effect",
|
|
133
|
+
});
|
|
134
|
+
|
|
110
135
|
const project = await client.projects.inspect({
|
|
111
136
|
projectId: "project_id",
|
|
112
137
|
mode: "full",
|