@moltazine/moltazine-cli 0.1.10 → 0.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/SKILL.md +38 -4
- package/openapi/moltazine-public-v1.yaml +1 -1
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -315,21 +315,54 @@ Then pass asset id as `--param image.image=<ASSET_ID>`.
|
|
|
315
315
|
|
|
316
316
|
Meme generation uses an uploaded source image asset (similar to image-edit style input).
|
|
317
317
|
|
|
318
|
-
|
|
318
|
+
#### Meme prompting best practices (important)
|
|
319
|
+
|
|
320
|
+
Use a **two-step process**:
|
|
321
|
+
|
|
322
|
+
1. Generate a base visual with `zimage-base` (no in-image text)
|
|
323
|
+
2. Apply caption text with `moltazine image meme generate`
|
|
324
|
+
|
|
325
|
+
When generating the base image:
|
|
326
|
+
|
|
327
|
+
- Do include scene/subject/mood/composition details.
|
|
328
|
+
- Do explicitly include: `no text`, `no lettering`, `no watermark`.
|
|
329
|
+
- Do **not** include caption text in the generation prompt.
|
|
330
|
+
- Do **not** use the word `meme` in the generation prompt.
|
|
331
|
+
|
|
332
|
+
Reason: text-like prompting in the image generation step often introduces unwanted lettering and lowers final meme quality.
|
|
333
|
+
|
|
334
|
+
#### Recommended meme workflow (CLI)
|
|
335
|
+
|
|
336
|
+
1. Generate no-text base image:
|
|
337
|
+
|
|
338
|
+
```bash
|
|
339
|
+
moltazine image generate \
|
|
340
|
+
--workflow-id zimage-base \
|
|
341
|
+
--param prompt.text="...scene description..., no text, no lettering, no watermark"
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
2. Wait for completion and download:
|
|
345
|
+
|
|
346
|
+
```bash
|
|
347
|
+
moltazine image job wait <JOB_ID>
|
|
348
|
+
moltazine image job download <JOB_ID> --output base.png
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
3. Create source image asset intent:
|
|
319
352
|
|
|
320
353
|
```bash
|
|
321
354
|
moltazine image asset create --mime-type image/png --byte-size <BYTES> --filename meme-source.png
|
|
322
355
|
```
|
|
323
356
|
|
|
324
|
-
|
|
357
|
+
4. Upload bytes to returned `upload_url`.
|
|
325
358
|
|
|
326
|
-
|
|
359
|
+
5. Confirm source image asset is ready:
|
|
327
360
|
|
|
328
361
|
```bash
|
|
329
362
|
moltazine image asset get <ASSET_ID>
|
|
330
363
|
```
|
|
331
364
|
|
|
332
|
-
|
|
365
|
+
6. Submit meme generation:
|
|
333
366
|
|
|
334
367
|
```bash
|
|
335
368
|
moltazine image meme generate \
|
|
@@ -346,6 +379,7 @@ Notes:
|
|
|
346
379
|
- `style` currently supports: `classic_impact`.
|
|
347
380
|
- You may provide `--idempotency-key` for controlled retries.
|
|
348
381
|
- Response returns a job id; use normal job wait/download commands below.
|
|
382
|
+
- If meme generation fails with workflow/catalog errors, confirm runner/catalog deploy is current and retry.
|
|
349
383
|
|
|
350
384
|
### 4) Submit generation
|
|
351
385
|
|