@smartlyqofficial/node 0.1.55 → 0.1.56
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/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1016,6 +1016,10 @@ type ShortsClip = {
|
|
|
1016
1016
|
title?: string;
|
|
1017
1017
|
hook_text?: string;
|
|
1018
1018
|
transcript?: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* The clip's aspect ratio.
|
|
1021
|
+
*/
|
|
1022
|
+
format?: '9:16' | '4:5' | '1:1' | '16:9';
|
|
1019
1023
|
clip_url?: string;
|
|
1020
1024
|
thumbnail?: string;
|
|
1021
1025
|
duration_ms?: number;
|
|
@@ -6191,6 +6195,10 @@ type GenerateShortsData = {
|
|
|
6191
6195
|
* false = clean clips with no captions, hook, logo or music (caption_style and caption_format cannot be used then).
|
|
6192
6196
|
*/
|
|
6193
6197
|
apply_brand_template?: boolean;
|
|
6198
|
+
/**
|
|
6199
|
+
* Output format (aspect ratio) of every clip: 9:16 vertical (TikTok, Reels, Shorts), 4:5 portrait (Instagram feed), 1:1 square or 16:9 landscape (YouTube, LinkedIn). The speaker is followed and the captions, hook, logo and CTA are placed for that canvas. GET /v1/shorts/caption-styles lists them with their pixel size.
|
|
6200
|
+
*/
|
|
6201
|
+
format?: '9:16' | '4:5' | '1:1' | '16:9';
|
|
6194
6202
|
/**
|
|
6195
6203
|
* Public HTTPS URL to POST `job.completed` or `job.failed` to when this job finishes (same envelope, signature and retries as registered webhooks). It is signed with this job's own `webhook_secret`, returned once in the 202.
|
|
6196
6204
|
*/
|
|
@@ -6400,6 +6408,10 @@ type GetShortsResponses = {
|
|
|
6400
6408
|
* Whether the clips got stock b-roll: asked for, or the brand template's (false when the job turned it off).
|
|
6401
6409
|
*/
|
|
6402
6410
|
magic_broll?: boolean;
|
|
6411
|
+
/**
|
|
6412
|
+
* The clips' aspect ratio (9:16 for jobs made before formats existed).
|
|
6413
|
+
*/
|
|
6414
|
+
format?: '9:16' | '4:5' | '1:1' | '16:9';
|
|
6403
6415
|
};
|
|
6404
6416
|
/**
|
|
6405
6417
|
* Why the job failed (empty otherwise).
|
package/dist/index.d.ts
CHANGED
|
@@ -1016,6 +1016,10 @@ type ShortsClip = {
|
|
|
1016
1016
|
title?: string;
|
|
1017
1017
|
hook_text?: string;
|
|
1018
1018
|
transcript?: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* The clip's aspect ratio.
|
|
1021
|
+
*/
|
|
1022
|
+
format?: '9:16' | '4:5' | '1:1' | '16:9';
|
|
1019
1023
|
clip_url?: string;
|
|
1020
1024
|
thumbnail?: string;
|
|
1021
1025
|
duration_ms?: number;
|
|
@@ -6191,6 +6195,10 @@ type GenerateShortsData = {
|
|
|
6191
6195
|
* false = clean clips with no captions, hook, logo or music (caption_style and caption_format cannot be used then).
|
|
6192
6196
|
*/
|
|
6193
6197
|
apply_brand_template?: boolean;
|
|
6198
|
+
/**
|
|
6199
|
+
* Output format (aspect ratio) of every clip: 9:16 vertical (TikTok, Reels, Shorts), 4:5 portrait (Instagram feed), 1:1 square or 16:9 landscape (YouTube, LinkedIn). The speaker is followed and the captions, hook, logo and CTA are placed for that canvas. GET /v1/shorts/caption-styles lists them with their pixel size.
|
|
6200
|
+
*/
|
|
6201
|
+
format?: '9:16' | '4:5' | '1:1' | '16:9';
|
|
6194
6202
|
/**
|
|
6195
6203
|
* Public HTTPS URL to POST `job.completed` or `job.failed` to when this job finishes (same envelope, signature and retries as registered webhooks). It is signed with this job's own `webhook_secret`, returned once in the 202.
|
|
6196
6204
|
*/
|
|
@@ -6400,6 +6408,10 @@ type GetShortsResponses = {
|
|
|
6400
6408
|
* Whether the clips got stock b-roll: asked for, or the brand template's (false when the job turned it off).
|
|
6401
6409
|
*/
|
|
6402
6410
|
magic_broll?: boolean;
|
|
6411
|
+
/**
|
|
6412
|
+
* The clips' aspect ratio (9:16 for jobs made before formats existed).
|
|
6413
|
+
*/
|
|
6414
|
+
format?: '9:16' | '4:5' | '1:1' | '16:9';
|
|
6403
6415
|
};
|
|
6404
6416
|
/**
|
|
6405
6417
|
* Why the job failed (empty otherwise).
|