@teinai/cli 1.1.9 → 1.1.11
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 +1 -1
- package/index.js +1 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -158,7 +158,7 @@ Call the `get_pricing` tool for every model's prices. `model` is optional (`seed
|
|
|
158
158
|
| `-p, --prompt <text>` | Text prompt for generation _(required)_ | `--prompt "A futuristic city"` |
|
|
159
159
|
| `-o, --output <file>` | Download output file to disk | `-o render.mp4` |
|
|
160
160
|
| `--image <url\|path>` | Image input (auto-uploaded if local path) | `--image ./photo.jpg` |
|
|
161
|
-
| `--aspect-ratio <ratio>` | Aspect ratio
|
|
161
|
+
| `--aspect-ratio <ratio>` | Aspect ratio; `tein info <model>` lists them | `--aspect-ratio 16:9` |
|
|
162
162
|
| `--endpoint <name>` | GPT Image pricing: dynamic, token, flat, medium | `--endpoint flat` |
|
|
163
163
|
| `-q, --quality <level>` | GPT Image quality: low, medium, high, xhigh, max | `-q high` |
|
|
164
164
|
| `--input-images <path>` | GPT Image reference/edit image (auto-uploaded) | `--input-images ./photo.jpg` |
|
package/index.js
CHANGED
|
@@ -6991,9 +6991,6 @@ var T = class {
|
|
|
6991
6991
|
async checkKey() {
|
|
6992
6992
|
await this.send('GET', '/v1/jobs?limit=1');
|
|
6993
6993
|
}
|
|
6994
|
-
runJob(t, i) {
|
|
6995
|
-
return this.send('POST', '/v1/run', { model: t, parameters: i });
|
|
6996
|
-
}
|
|
6997
6994
|
queueJob(t, i) {
|
|
6998
6995
|
return this.send('POST', '/v1/generate', { model: t, ...i }).then((r) => {
|
|
6999
6996
|
let n = r.status,
|
|
@@ -8030,7 +8027,7 @@ ${a.bold('COMMANDS:')}
|
|
|
8030
8027
|
${a.bold('GENERATION OPTIONS (for `tein run`):')}
|
|
8031
8028
|
${a.cyan('-p, --prompt')} <text> Text prompt for generation ${a.red('(required)')}
|
|
8032
8029
|
${a.cyan('-o, --output')} <filepath> Download output file locally (e.g. video.mp4, image.png)
|
|
8033
|
-
${a.cyan('--aspect-ratio')} <ratio> Aspect ratio (
|
|
8030
|
+
${a.cyan('--aspect-ratio')} <ratio> Aspect ratio, per model (see tein info <model-slug>)
|
|
8034
8031
|
${a.cyan('-d, --duration')} <seconds> Video duration in seconds (4-30s depending on model)
|
|
8035
8032
|
${a.cyan('-r, --resolution')} <res> Resolution (720p, 1080p, 1K, 2K, 4K)
|
|
8036
8033
|
${a.cyan('-q, --quality')} <quality> Quality tier (standard, fast, mini, high)
|