feat(image): add --seed, --width/--height, --prompt-optimizer, --aigc-watermark#75
Merged
tars90percent merged 2 commits intoMiniMax-AI:mainfrom Apr 10, 2026
Merged
Conversation
…-watermark - Add --seed for reproducible generation - Add --width/--height for custom dimensions (512-2048, multiple of 8) - Add validation: both required together, range + divisibility check - Add --prompt-optimizer for auto prompt optimization - Add --aigc-watermark for AI content watermarking - Add apiDocs field - Update description: image-01 / image-01-live - Improve --aspect-ratio description - Add seed, dimensions, and optimizer examples
- Change apiDocs from full URL to path (fixes broken URL in --help) - Clear aspect_ratio when both --width and --height are provided
Collaborator
|
Thanks! Pushed a fix commit (bdec821) before merging:
Apologies for pushing directly rather than requesting changes -- should have let you address these yourself. Will do that next time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
--seed: Reproducible generation (same seed + prompt = identical output)--width/--height: Custom dimensions (512–2048px, must be multiple of 8)--prompt-optimizer: Auto-optimize prompt before generation--aigc-watermark: Embed AI content watermarkFiles
src/commands/image/generate.tssrc/types/api.ts(add seed, width, height, prompt_optimizer, aigc_watermark)src/command.ts(apiDocs interface)