@mindstudio-ai/agent 0.1.152 → 0.1.154
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/cli.js +13 -13
- package/dist/index.d.ts +10 -6
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +13 -13
- package/llms.txt +10 -6
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -463,7 +463,7 @@ Generate a 3D model using a 3D generation model.
|
|
|
463
463
|
- From text or an image: wavespeed-tripo3d-h3.1, wavespeed-meshy7.1 (also `images`, 1–4 views), wavespeed-hunyuan3d-v3 (an `image`, plus optional `back_image_url`, `left_image_url`, `right_image_url`), wavespeed-hunyuan-3d-v3.1-rapid, wavespeed-tripo3d-p2, wavespeed-rodin-v2.5 (`images`, 1–5).
|
|
464
464
|
- From an image only: trellis-2, wavespeed-meshy7 (or `images`, 1–4 views), wavespeed-tripo3d-v2.5, seed3d-2.0, wavespeed-sam-3d-objects (with optional `mask_images`).
|
|
465
465
|
- From views: wavespeed-hi3d-v3.0 (`front_image`, and optional `back_image`, `left_image`, `right_image`).
|
|
466
|
-
- `$mode` in the config picks a model's mode (`text-to-3d`, `image-to-3d`, or its multi-view mode). Left out, `images` picks the multi-view mode and `image` picks image-to-3d; with neither, the model's default mode. A text mode needs the prompt; in the others the prompt is optional guidance.
|
|
466
|
+
- `$mode` in the config picks a model's mode (`text-to-3d`, `image-to-3d`, or its multi-view mode). Left out, `images` picks the multi-view mode and `image` picks image-to-3d; with neither, the model's default mode. A text mode needs the prompt; in the others the prompt is optional guidance.
|
|
467
467
|
- The output is standardized as a GLB URL plus optional FBX/OBJ/USDZ, thumbnail, texture maps, and provider task ID.
|
|
468
468
|
- Input: `{ prompt?: string, intermediateAsset?: boolean, threeDModelOverride?: { model: string, config?: object } }`
|
|
469
469
|
- Output: `{ prompt?: string, glbUrl: string, fbxUrl?: string, objUrl?: string, usdzUrl?: string, thumbnailUrl?: string, textureUrls?: object[], providerTaskId?: string, resolvedConfig?: object }`
|
|
@@ -479,11 +479,13 @@ Generate an HTML asset and export it as a webpage, PDF, or image
|
|
|
479
479
|
- Output: `{ url: string }`
|
|
480
480
|
|
|
481
481
|
#### generateImage
|
|
482
|
-
Generate an image from a text prompt using an AI model.
|
|
482
|
+
Generate an image from a text prompt, or edit one, using an AI model.
|
|
483
483
|
- Prompts should be descriptive but concise (roughly 3–6 sentences).
|
|
484
|
+
- The default model is seedream-4.5. Options go in `imageModelOverride.config` under the model's own names, and differ by model, so look the model up before writing the call. Images to edit or draw from go there too, as URLs: `images` on most models, `source_images` on the Gemini and GPT Image models, one `image` on qwen-image, z-image-turbo, krea-v2-turbo, ideogram-v4 and the MAI models, `source_image` on Grok Imagine, `image_url` on the Ideogram remix and FLUX Kontext models, and `reference` on krea-v2-large.
|
|
485
|
+
- A model that makes and edits images by separate means takes `$mode` in its config (`text-to-image`, and `edit`, `image-edit` or `image-to-image`, as it lists). Left out, images in the config pick the edit mode, and otherwise the model makes the image from the prompt.
|
|
484
486
|
- Images are hosted on the public CDN by default, or in one of the app's own file stores when the call passes `store` — a private store keeps the image private.
|
|
485
487
|
- In foreground mode, the image is displayed to the user. In background mode, the URL is saved to a variable.
|
|
486
|
-
- When generateVariants is true with numVariants > 1,
|
|
488
|
+
- When generateVariants is true with numVariants > 1 (up to 10), the images are generated in parallel. One that fails is left out of the URLs returned, and the step fails only when every one does.
|
|
487
489
|
- In direct execution, foreground mode behaves as background, and userSelect variant behavior behaves as saveAll.
|
|
488
490
|
- Input: `{ prompt: string, intermediateAsset?: boolean, imageModelOverride?: { model: string, config?: object }, generateVariants?: boolean, numVariants?: number, addWatermark?: boolean }`
|
|
489
491
|
- Output: `{ imageUrl: string | string[] }`
|
|
@@ -496,7 +498,7 @@ Generate a lip sync video from audio and an image or video.
|
|
|
496
498
|
|
|
497
499
|
#### generateMusic
|
|
498
500
|
Generate an audio file from provided instructions (text) using a music model.
|
|
499
|
-
- `text` describes the song: genre, mood, instruments, tempo, vocals, and for Lyria its structure (`[Verse]`, `[Chorus]`, timestamps such as `[0:00-0:20] Intro`).
|
|
501
|
+
- `text` describes the song: genre, mood, instruments, tempo, vocals, and for Lyria its structure (`[Verse]`, `[Chorus]`, timestamps such as `[0:00-0:20] Intro`).
|
|
500
502
|
- The default model is elevenlabs-music_v2.5. Options go in `musicModelOverride.config`, and differ by model:
|
|
501
503
|
- elevenlabs-music_v2.5, elevenlabs-music_v2: `musicLengthMs`, the song's length from 3,000 to 600,000 (the model chooses one from the text otherwise, and holds a length it's given), and `forceInstrumental: true` for no vocals.
|
|
502
504
|
- lyria-3.5: songs of up to about three minutes, their length steered from the text; `image`, the URL of an image for the song to take its mood and subject from. lyria-3 makes 30-second clips, lyria-3-pro songs of up to about three minutes.
|
|
@@ -541,8 +543,10 @@ the server-side plumbing.
|
|
|
541
543
|
- Output: `{ content: string }`
|
|
542
544
|
|
|
543
545
|
#### generateVideo
|
|
544
|
-
Generate a video from a text prompt using an AI model.
|
|
545
|
-
- Prompts should be descriptive but concise (roughly 3–6 sentences).
|
|
546
|
+
Generate a video from a text prompt, an image or references, using an AI model.
|
|
547
|
+
- Prompts should be descriptive but concise (roughly 3–6 sentences): the subject, the motion, the camera and the sound.
|
|
548
|
+
- The default model is wan3.0-video. Options go in `videoModelOverride.config` under the model's own names, and differ by model, so look the model up before writing the call. Images, videos and audio go there too, as URLs: a first frame is `image` on most models, `image_url` on Veo, gemini-omni-flash, Runway's and minimax-h3-max, `source_image` on Grok Imagine, `start_frame` on ray-2 and `first_frame_image` on skyreels-v4.
|
|
549
|
+
- A model that makes video more than one way takes `$mode` in its config (`text-to-video`, `image-to-video`, `reference-to-video`, `video-edit` and others it lists). Left out, a first frame or reference images in the config pick their mode, and otherwise the model's default runs.
|
|
546
550
|
- Videos are hosted on the public CDN by default, or in one of the app's own file stores when the call passes `store` — a private store keeps the video private, with no public copy left behind.
|
|
547
551
|
- In foreground mode, the video is displayed to the user. In background mode, the URL is saved to a variable.
|
|
548
552
|
- When generateVariants is true with numVariants > 1, multiple videos are generated in parallel.
|