@rosetears/aili-pi 0.1.0
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/LICENSE +21 -0
- package/README.md +109 -0
- package/THIRD_PARTY_NOTICES.md +64 -0
- package/extensions/index.ts +6 -0
- package/install.sh +5 -0
- package/manifests/adapter-evidence.json +45 -0
- package/manifests/capabilities.json +124 -0
- package/manifests/live-verification.json +26 -0
- package/manifests/provenance.json +71 -0
- package/manifests/roles.json +474 -0
- package/manifests/sbom.json +7797 -0
- package/manifests/skill-compatibility.json +8100 -0
- package/manifests/subagent-provenance.json +37 -0
- package/package.json +91 -0
- package/prompts/build.md +8 -0
- package/prompts/define.md +8 -0
- package/prompts/ideate.md +8 -0
- package/prompts/local-review.md +8 -0
- package/prompts/ship.md +8 -0
- package/roles/agent-evaluator.md +47 -0
- package/roles/ai-regression-scout.md +47 -0
- package/roles/browser-qa-runner.md +47 -0
- package/roles/code-reviewer.md +47 -0
- package/roles/code-scout.md +47 -0
- package/roles/convergence-reviewer.md +55 -0
- package/roles/doc-researcher.md +47 -0
- package/roles/e2e-artifact-runner.md +47 -0
- package/roles/implementer.md +47 -0
- package/roles/opensource-sanitizer.md +47 -0
- package/roles/plan-auditor.md +47 -0
- package/roles/pr-test-analyzer.md +47 -0
- package/roles/security-auditor.md +47 -0
- package/roles/silent-failure-reviewer.md +47 -0
- package/roles/spec-miner.md +47 -0
- package/roles/test-coverage-reviewer.md +47 -0
- package/roles/test-engineer.md +48 -0
- package/roles/web-performance-auditor.md +47 -0
- package/roles/web-researcher.md +47 -0
- package/scripts/apply-adapter-evidence.ts +73 -0
- package/scripts/bootstrap.sh +180 -0
- package/scripts/generate-provenance.ts +143 -0
- package/scripts/local-package-e2e.ts +51 -0
- package/scripts/sync-roles.ts +213 -0
- package/scripts/sync-skills.ts +356 -0
- package/scripts/validate-runtime.ts +11 -0
- package/skills/academic-paper-review/SKILL.md +81 -0
- package/skills/agents-md-initialization/SKILL.md +121 -0
- package/skills/agents-md-initialization/references/agents-template.md +83 -0
- package/skills/agents-md-initialization/references/agents_md.py +215 -0
- package/skills/ai-regression-scout/SKILL.md +24 -0
- package/skills/aili-delivery-flow/SKILL.md +125 -0
- package/skills/aili-delivery-flow/references/artifact-contracts.md +138 -0
- package/skills/aili-delivery-flow/references/backend-routing.md +40 -0
- package/skills/aili-delivery-flow/references/build-execution-loop.md +113 -0
- package/skills/aili-delivery-flow/references/build-goal-mode.md +3 -0
- package/skills/aili-delivery-flow/references/direct-vs-delegated-work.md +38 -0
- package/skills/aili-delivery-flow/references/implementation-packages.md +54 -0
- package/skills/aili-delivery-flow/references/lifecycle.md +127 -0
- package/skills/aili-delivery-flow/references/protocols/acceptance-test-plan.md +18 -0
- package/skills/aili-delivery-flow/references/protocols/alignment-questionnaire.md +10 -0
- package/skills/aili-delivery-flow/references/protocols/closeout-report.md +101 -0
- package/skills/aili-delivery-flow/references/protocols/compact-evidence-pack.md +46 -0
- package/skills/aili-delivery-flow/references/protocols/idea-brief.md +10 -0
- package/skills/aili-delivery-flow/references/protocols/implementation-package.md +53 -0
- package/skills/aili-delivery-flow/references/protocols/research-evidence-pack.md +19 -0
- package/skills/aili-delivery-flow/references/protocols/review-report.md +7 -0
- package/skills/aili-delivery-flow/references/protocols/spec-draft.md +12 -0
- package/skills/aili-delivery-flow/references/protocols/subagent-result.md +60 -0
- package/skills/aili-delivery-flow/references/protocols/subagent-task-packet.md +29 -0
- package/skills/aili-delivery-flow/references/protocols/worktree-context.md +109 -0
- package/skills/aili-delivery-flow/references/questionnaire-policy.md +62 -0
- package/skills/aili-delivery-flow/references/review-repair-loop.md +16 -0
- package/skills/aili-delivery-flow/references/test-document-policy.md +35 -0
- package/skills/android-native-dev/SKILL.md +722 -0
- package/skills/android-native-dev/references/accessibility.md +209 -0
- package/skills/android-native-dev/references/adaptive-screens.md +231 -0
- package/skills/android-native-dev/references/design-style-guide.md +365 -0
- package/skills/android-native-dev/references/functional-requirements.md +229 -0
- package/skills/android-native-dev/references/motion-system.md +203 -0
- package/skills/android-native-dev/references/performance-stability.md +223 -0
- package/skills/android-native-dev/references/privacy-security.md +244 -0
- package/skills/android-native-dev/references/testing.md +554 -0
- package/skills/android-native-dev/references/visual-design.md +246 -0
- package/skills/api-and-interface-design/SKILL.md +318 -0
- package/skills/browser-qa/SKILL.md +32 -0
- package/skills/browser-testing-with-devtools/SKILL.md +323 -0
- package/skills/build-failure-repair/SKILL.md +49 -0
- package/skills/chart-visualization/SKILL.md +73 -0
- package/skills/ci-cd-and-automation/SKILL.md +353 -0
- package/skills/code-review-and-quality/SKILL.md +375 -0
- package/skills/code-review-quality-gates/SKILL.md +132 -0
- package/skills/code-simplification/SKILL.md +371 -0
- package/skills/comment-accuracy-review/SKILL.md +37 -0
- package/skills/consulting-analysis/SKILL.md +69 -0
- package/skills/context-engineering/SKILL.md +375 -0
- package/skills/coverage-review/SKILL.md +24 -0
- package/skills/data-analysis/SKILL.md +74 -0
- package/skills/deprecation-and-migration/SKILL.md +222 -0
- package/skills/documentation-and-adrs/SKILL.md +330 -0
- package/skills/e2e-artifact-handling/SKILL.md +30 -0
- package/skills/evidence-scoped-retrospective/SKILL.md +156 -0
- package/skills/explain-by-allegory/SKILL.md +99 -0
- package/skills/flutter-dev/SKILL.md +162 -0
- package/skills/flutter-dev/references/animations.md +497 -0
- package/skills/flutter-dev/references/bloc-state.md +281 -0
- package/skills/flutter-dev/references/forms.md +656 -0
- package/skills/flutter-dev/references/gorouter-navigation.md +257 -0
- package/skills/flutter-dev/references/localization.md +510 -0
- package/skills/flutter-dev/references/networking.md +566 -0
- package/skills/flutter-dev/references/performance.md +305 -0
- package/skills/flutter-dev/references/platform-specific.md +417 -0
- package/skills/flutter-dev/references/project-structure.md +273 -0
- package/skills/flutter-dev/references/riverpod-state.md +232 -0
- package/skills/flutter-dev/references/testing.md +364 -0
- package/skills/flutter-dev/references/widget-patterns.md +233 -0
- package/skills/frontend-dev/SKILL.md +468 -0
- package/skills/frontend-dev/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/DMMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/skills/frontend-dev/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Gloock-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Italiana-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Jura-Light.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Jura-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Jura-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Lora-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Outfit-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Tektur-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/skills/frontend-dev/references/asset-prompt-guide.md +43 -0
- package/skills/frontend-dev/references/env-setup.md +33 -0
- package/skills/frontend-dev/references/minimax-cli-reference.md +133 -0
- package/skills/frontend-dev/references/minimax-image-guide.md +65 -0
- package/skills/frontend-dev/references/minimax-music-guide.md +216 -0
- package/skills/frontend-dev/references/minimax-tts-guide.md +78 -0
- package/skills/frontend-dev/references/minimax-video-guide.md +82 -0
- package/skills/frontend-dev/references/minimax-voice-catalog.md +685 -0
- package/skills/frontend-dev/references/motion-recipes.md +407 -0
- package/skills/frontend-dev/references/troubleshooting.md +85 -0
- package/skills/frontend-dev/scripts/minimax_image.py +137 -0
- package/skills/frontend-dev/scripts/minimax_music.py +157 -0
- package/skills/frontend-dev/scripts/minimax_tts.py +127 -0
- package/skills/frontend-dev/scripts/minimax_video.py +187 -0
- package/skills/frontend-dev/templates/generator_template.js +223 -0
- package/skills/frontend-dev/templates/viewer.html +599 -0
- package/skills/frontend-ui-engineering/SKILL.md +367 -0
- package/skills/fullstack-dev/SKILL.md +819 -0
- package/skills/fullstack-dev/references/api-design.md +444 -0
- package/skills/fullstack-dev/references/auth-flow.md +165 -0
- package/skills/fullstack-dev/references/db-schema.md +706 -0
- package/skills/fullstack-dev/references/django-best-practices.md +466 -0
- package/skills/fullstack-dev/references/environment-management.md +78 -0
- package/skills/fullstack-dev/references/release-checklist.md +278 -0
- package/skills/fullstack-dev/references/technology-selection.md +254 -0
- package/skills/fullstack-dev/references/testing-strategy.md +404 -0
- package/skills/git-workflow-and-versioning/SKILL.md +446 -0
- package/skills/github-evidence-triage/SKILL.md +115 -0
- package/skills/harness-evolution/SKILL.md +59 -0
- package/skills/harness-evolution/references/activation-matrix.md +13 -0
- package/skills/harness-evolution/references/approval-policy.md +20 -0
- package/skills/harness-evolution/references/change-report-template.md +33 -0
- package/skills/harness-evolution/references/component-taxonomy.md +19 -0
- package/skills/harness-evolution/references/verdict-policy.md +13 -0
- package/skills/harness-issue-triage/SKILL.md +72 -0
- package/skills/harness-issue-triage/references/component-diagnosis.md +25 -0
- package/skills/harness-issue-triage/references/triage-report-template.md +34 -0
- package/skills/harness-optimization-audit/SKILL.md +125 -0
- package/skills/idea-refine/SKILL.md +191 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/LICENSE +21 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/NOTICE.md +9 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/SKILL.upstream.md +178 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/examples.md +238 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/frameworks.md +99 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/refinement-criteria.md +113 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/scripts/idea-refine.upstream.sh +15 -0
- package/skills/incremental-implementation/SKILL.md +252 -0
- package/skills/ios-application-dev/SKILL.md +212 -0
- package/skills/ios-application-dev/references/accessibility.md +259 -0
- package/skills/ios-application-dev/references/graphics-animation.md +350 -0
- package/skills/ios-application-dev/references/layout-system.md +199 -0
- package/skills/ios-application-dev/references/metal-shader.md +178 -0
- package/skills/ios-application-dev/references/navigation-patterns.md +175 -0
- package/skills/ios-application-dev/references/swift-coding-standards.md +757 -0
- package/skills/ios-application-dev/references/swiftui-design-guidelines.md +1167 -0
- package/skills/ios-application-dev/references/system-integration.md +401 -0
- package/skills/ios-application-dev/references/uikit-components.md +297 -0
- package/skills/local-review-gate/SKILL.md +207 -0
- package/skills/local-review-gate/references/addyosmani-code-review-rubric.md +33 -0
- package/skills/local-review-gate/references/codex-github-compatibility.md +26 -0
- package/skills/local-review-gate/references/ecc-code-review-adaptation.md +40 -0
- package/skills/local-review-gate/references/graphify-local-review.md +33 -0
- package/skills/local-review-gate/references/orchestration-adaptation.md +51 -0
- package/skills/local-review-gate/references/review-repair-lane-adaptation.md +46 -0
- package/skills/local-review-gate/references/upstream-provenance.md +61 -0
- package/skills/mature-project-pattern-research/SKILL.md +155 -0
- package/skills/mature-project-pattern-research/references/research-rubric.md +45 -0
- package/skills/minimax-docx/LICENSE +21 -0
- package/skills/minimax-docx/SKILL.md +273 -0
- package/skills/minimax-docx/assets/styles/academic_styles.xml +250 -0
- package/skills/minimax-docx/assets/styles/corporate_styles.xml +284 -0
- package/skills/minimax-docx/assets/styles/default_styles.xml +449 -0
- package/skills/minimax-docx/assets/xsd/aesthetic-rules.xsd +470 -0
- package/skills/minimax-docx/assets/xsd/business-rules.xsd +130 -0
- package/skills/minimax-docx/assets/xsd/common-types.xsd +159 -0
- package/skills/minimax-docx/assets/xsd/wml-subset.xsd +589 -0
- package/skills/minimax-docx/references/cjk_typography.md +357 -0
- package/skills/minimax-docx/references/cjk_university_template_guide.md +184 -0
- package/skills/minimax-docx/references/comments_guide.md +191 -0
- package/skills/minimax-docx/references/design_good_bad_examples.md +829 -0
- package/skills/minimax-docx/references/design_principles.md +819 -0
- package/skills/minimax-docx/references/openxml_element_order.md +308 -0
- package/skills/minimax-docx/references/openxml_encyclopedia_part1.md +4061 -0
- package/skills/minimax-docx/references/openxml_encyclopedia_part2.md +2820 -0
- package/skills/minimax-docx/references/openxml_encyclopedia_part3.md +3381 -0
- package/skills/minimax-docx/references/openxml_namespaces.md +82 -0
- package/skills/minimax-docx/references/openxml_units.md +72 -0
- package/skills/minimax-docx/references/scenario_a_create.md +284 -0
- package/skills/minimax-docx/references/scenario_b_edit_content.md +295 -0
- package/skills/minimax-docx/references/scenario_c_apply_template.md +456 -0
- package/skills/minimax-docx/references/track_changes_guide.md +200 -0
- package/skills/minimax-docx/references/troubleshooting.md +506 -0
- package/skills/minimax-docx/references/typography_guide.md +294 -0
- package/skills/minimax-docx/references/xsd_validation_guide.md +158 -0
- package/skills/minimax-docx/scripts/doc_to_docx.sh +40 -0
- package/skills/minimax-docx/scripts/docx_preview.sh +37 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/MiniMaxAIDocx.Cli.csproj +19 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/Program.cs +18 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/AnalyzeCommand.cs +147 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ApplyTemplateCommand.cs +322 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/CreateCommand.cs +324 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/DiffCommand.cs +155 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/EditContentCommand.cs +487 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/FixOrderCommand.cs +108 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/MergeRunsCommand.cs +122 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ValidateCommand.cs +107 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/MiniMaxAIDocx.Core.csproj +15 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/CommentSynchronizer.cs +169 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/ElementOrder.cs +80 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/NamespaceConstants.cs +42 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/RunMerger.cs +81 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/StyleAnalyzer.cs +81 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/TrackChangesHelper.cs +99 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/UnitConverter.cs +23 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples.cs +1832 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch1.cs +910 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch2.cs +999 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch3.cs +1048 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch4.cs +1038 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/CharacterFormattingSamples.cs +1020 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/DocumentCreationSamples.cs +1121 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FieldAndTocSamples.cs +624 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FootnoteAndCommentSamples.cs +675 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/HeaderFooterSamples.cs +838 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ImageSamples.cs +917 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ListAndNumberingSamples.cs +826 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ParagraphFormattingSamples.cs +1199 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/StyleSystemSamples.cs +1487 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TableSamples.cs +1163 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TrackChangesSamples.cs +595 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/CjkHelper.cs +39 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/FontDefaults.cs +24 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/PageSizes.cs +20 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/BusinessRuleValidator.cs +224 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/GateCheckValidator.cs +148 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/ValidationResult.cs +23 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/XsdValidator.cs +69 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.slnx +4 -0
- package/skills/minimax-docx/scripts/env_check.sh +196 -0
- package/skills/minimax-docx/scripts/setup.ps1 +274 -0
- package/skills/minimax-docx/scripts/setup.sh +504 -0
- package/skills/minimax-pdf/README.md +222 -0
- package/skills/minimax-pdf/SKILL.md +218 -0
- package/skills/minimax-pdf/design/design.md +381 -0
- package/skills/minimax-pdf/scripts/cover.py +1579 -0
- package/skills/minimax-pdf/scripts/fill_inspect.py +200 -0
- package/skills/minimax-pdf/scripts/fill_write.py +242 -0
- package/skills/minimax-pdf/scripts/make.sh +491 -0
- package/skills/minimax-pdf/scripts/merge.py +112 -0
- package/skills/minimax-pdf/scripts/palette.py +521 -0
- package/skills/minimax-pdf/scripts/reformat_parse.py +374 -0
- package/skills/minimax-pdf/scripts/render_body.py +1052 -0
- package/skills/minimax-pdf/scripts/render_cover.js +111 -0
- package/skills/minimax-xlsx/SKILL.md +156 -0
- package/skills/minimax-xlsx/references/create.md +691 -0
- package/skills/minimax-xlsx/references/edit.md +684 -0
- package/skills/minimax-xlsx/references/fix.md +37 -0
- package/skills/minimax-xlsx/references/format.md +768 -0
- package/skills/minimax-xlsx/references/ooxml-cheatsheet.md +231 -0
- package/skills/minimax-xlsx/references/read-analyze.md +97 -0
- package/skills/minimax-xlsx/references/validate.md +772 -0
- package/skills/minimax-xlsx/scripts/formula_check.py +422 -0
- package/skills/minimax-xlsx/scripts/libreoffice_recalc.py +248 -0
- package/skills/minimax-xlsx/scripts/shared_strings_builder.py +163 -0
- package/skills/minimax-xlsx/scripts/style_audit.py +575 -0
- package/skills/minimax-xlsx/scripts/xlsx_add_column.py +395 -0
- package/skills/minimax-xlsx/scripts/xlsx_insert_row.py +274 -0
- package/skills/minimax-xlsx/scripts/xlsx_pack.py +87 -0
- package/skills/minimax-xlsx/scripts/xlsx_reader.py +362 -0
- package/skills/minimax-xlsx/scripts/xlsx_shift_rows.py +396 -0
- package/skills/minimax-xlsx/scripts/xlsx_unpack.py +130 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/[Content_Types].xml +9 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/_rels/.rels +6 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/_rels/workbook.xml.rels +19 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/sharedStrings.xml +33 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/styles.xml +160 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/workbook.xml +30 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/worksheets/sheet1.xml +70 -0
- package/skills/newsletter-generation/SKILL.md +71 -0
- package/skills/oss-release-readiness/SKILL.md +47 -0
- package/skills/parallel-subagent-dispatch/SKILL.md +58 -0
- package/skills/performance-optimization/SKILL.md +364 -0
- package/skills/planning-and-task-breakdown/SKILL.md +290 -0
- package/skills/pptx-generator/SKILL.md +275 -0
- package/skills/pptx-generator/references/design-system.md +392 -0
- package/skills/pptx-generator/references/editing.md +162 -0
- package/skills/pptx-generator/references/pitfalls.md +112 -0
- package/skills/pptx-generator/references/pptxgenjs.md +420 -0
- package/skills/pptx-generator/references/slide-types.md +413 -0
- package/skills/pr-test-analysis/SKILL.md +24 -0
- package/skills/react-native-dev/SKILL.md +180 -0
- package/skills/react-native-dev/references/animations.md +254 -0
- package/skills/react-native-dev/references/components.md +124 -0
- package/skills/react-native-dev/references/engineering.md +527 -0
- package/skills/react-native-dev/references/forms.md +300 -0
- package/skills/react-native-dev/references/native-capabilities.md +163 -0
- package/skills/react-native-dev/references/navigation.md +271 -0
- package/skills/react-native-dev/references/networking.md +346 -0
- package/skills/react-native-dev/references/performance.md +215 -0
- package/skills/react-native-dev/references/state-management.md +230 -0
- package/skills/react-native-dev/references/styling.md +117 -0
- package/skills/react-native-dev/references/testing.md +341 -0
- package/skills/requirements-grilling/SKILL.md +447 -0
- package/skills/requirements-grilling/references/ADR-FORMAT.md +46 -0
- package/skills/requirements-grilling/references/CONTEXT-FORMAT.md +41 -0
- package/skills/requirements-grilling/references/INTERVIEW-PACKET-FORMAT.md +62 -0
- package/skills/requirements-grilling/references/MIT-LICENSE-MATT-POCOCK.md +25 -0
- package/skills/requirements-grilling/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/LICENSE +21 -0
- package/skills/requirements-grilling/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/NOTICE.md +9 -0
- package/skills/requirements-grilling/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/interview-me/SKILL.upstream.md +225 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/LICENSE +21 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/NOTICE.md +12 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/batch-grill-me/SKILL.upstream.md +15 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/grill-me/SKILL.upstream.md +7 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/grilling/SKILL.upstream.md +12 -0
- package/skills/review-pipeline/SKILL.md +38 -0
- package/skills/rose-memory/SKILL.md +210 -0
- package/skills/rose-memory/references/README.md +48 -0
- package/skills/rose-memory/references/memory_cli.py +2384 -0
- package/skills/rose-memory/references/schema.sql +315 -0
- package/skills/security-and-hardening/SKILL.md +369 -0
- package/skills/session-handoff/SKILL.md +88 -0
- package/skills/session-handoff/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/LICENSE +21 -0
- package/skills/session-handoff/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/NOTICE.md +9 -0
- package/skills/session-handoff/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/productivity/handoff/SKILL.upstream.md +16 -0
- package/skills/session-handoff/scripts/session_handoff.py +764 -0
- package/skills/shader-dev/SKILL.md +316 -0
- package/skills/shader-dev/reference/ambient-occlusion.md +382 -0
- package/skills/shader-dev/reference/analytic-ray-tracing.md +651 -0
- package/skills/shader-dev/reference/anti-aliasing.md +71 -0
- package/skills/shader-dev/reference/atmospheric-scattering.md +571 -0
- package/skills/shader-dev/reference/camera-effects.md +80 -0
- package/skills/shader-dev/reference/cellular-automata.md +635 -0
- package/skills/shader-dev/reference/color-palette.md +481 -0
- package/skills/shader-dev/reference/csg-boolean-operations.md +466 -0
- package/skills/shader-dev/reference/domain-repetition.md +436 -0
- package/skills/shader-dev/reference/domain-warping.md +419 -0
- package/skills/shader-dev/reference/fluid-simulation.md +425 -0
- package/skills/shader-dev/reference/fractal-rendering.md +525 -0
- package/skills/shader-dev/reference/lighting-model.md +639 -0
- package/skills/shader-dev/reference/matrix-transform.md +535 -0
- package/skills/shader-dev/reference/multipass-buffer.md +571 -0
- package/skills/shader-dev/reference/normal-estimation.md +418 -0
- package/skills/shader-dev/reference/particle-system.md +589 -0
- package/skills/shader-dev/reference/path-tracing-gi.md +602 -0
- package/skills/shader-dev/reference/polar-uv-manipulation.md +521 -0
- package/skills/shader-dev/reference/post-processing.md +375 -0
- package/skills/shader-dev/reference/procedural-2d-pattern.md +439 -0
- package/skills/shader-dev/reference/procedural-noise.md +551 -0
- package/skills/shader-dev/reference/ray-marching.md +396 -0
- package/skills/shader-dev/reference/sdf-2d.md +724 -0
- package/skills/shader-dev/reference/sdf-3d.md +805 -0
- package/skills/shader-dev/reference/sdf-tricks.md +63 -0
- package/skills/shader-dev/reference/shadow-techniques.md +476 -0
- package/skills/shader-dev/reference/simulation-physics.md +644 -0
- package/skills/shader-dev/reference/sound-synthesis.md +578 -0
- package/skills/shader-dev/reference/terrain-rendering.md +839 -0
- package/skills/shader-dev/reference/texture-mapping-advanced.md +87 -0
- package/skills/shader-dev/reference/texture-sampling.md +553 -0
- package/skills/shader-dev/reference/volumetric-rendering.md +608 -0
- package/skills/shader-dev/reference/voronoi-cellular-noise.md +486 -0
- package/skills/shader-dev/reference/voxel-rendering.md +701 -0
- package/skills/shader-dev/reference/water-ocean.md +445 -0
- package/skills/shader-dev/reference/webgl-pitfalls.md +41 -0
- package/skills/shader-dev/techniques/ambient-occlusion.md +364 -0
- package/skills/shader-dev/techniques/analytic-ray-tracing.md +542 -0
- package/skills/shader-dev/techniques/anti-aliasing.md +124 -0
- package/skills/shader-dev/techniques/atmospheric-scattering.md +522 -0
- package/skills/shader-dev/techniques/camera-effects.md +115 -0
- package/skills/shader-dev/techniques/cellular-automata.md +531 -0
- package/skills/shader-dev/techniques/color-palette.md +380 -0
- package/skills/shader-dev/techniques/csg-boolean-operations.md +491 -0
- package/skills/shader-dev/techniques/domain-repetition.md +333 -0
- package/skills/shader-dev/techniques/domain-warping.md +414 -0
- package/skills/shader-dev/techniques/fluid-simulation.md +1175 -0
- package/skills/shader-dev/techniques/fractal-rendering.md +436 -0
- package/skills/shader-dev/techniques/lighting-model.md +527 -0
- package/skills/shader-dev/techniques/matrix-transform.md +455 -0
- package/skills/shader-dev/techniques/multipass-buffer.md +922 -0
- package/skills/shader-dev/techniques/normal-estimation.md +318 -0
- package/skills/shader-dev/techniques/particle-system.md +1203 -0
- package/skills/shader-dev/techniques/path-tracing-gi.md +623 -0
- package/skills/shader-dev/techniques/polar-uv-manipulation.md +373 -0
- package/skills/shader-dev/techniques/post-processing.md +788 -0
- package/skills/shader-dev/techniques/procedural-2d-pattern.md +346 -0
- package/skills/shader-dev/techniques/procedural-noise.md +554 -0
- package/skills/shader-dev/techniques/ray-marching.md +467 -0
- package/skills/shader-dev/techniques/sdf-2d.md +631 -0
- package/skills/shader-dev/techniques/sdf-3d.md +589 -0
- package/skills/shader-dev/techniques/sdf-tricks.md +100 -0
- package/skills/shader-dev/techniques/shadow-techniques.md +776 -0
- package/skills/shader-dev/techniques/simulation-physics.md +1542 -0
- package/skills/shader-dev/techniques/sound-synthesis.md +490 -0
- package/skills/shader-dev/techniques/terrain-rendering.md +408 -0
- package/skills/shader-dev/techniques/texture-mapping-advanced.md +121 -0
- package/skills/shader-dev/techniques/texture-sampling.md +382 -0
- package/skills/shader-dev/techniques/volumetric-rendering.md +375 -0
- package/skills/shader-dev/techniques/voronoi-cellular-noise.md +458 -0
- package/skills/shader-dev/techniques/voxel-rendering.md +985 -0
- package/skills/shader-dev/techniques/water-ocean.md +490 -0
- package/skills/shader-dev/techniques/webgl-pitfalls.md +170 -0
- package/skills/shipping-and-launch/SKILL.md +334 -0
- package/skills/silent-failure-hunting/SKILL.md +24 -0
- package/skills/source-driven-development/SKILL.md +223 -0
- package/skills/spec-driven-development/SKILL.md +235 -0
- package/skills/spec-driven-development/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/LICENSE +21 -0
- package/skills/spec-driven-development/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/NOTICE.md +9 -0
- package/skills/spec-driven-development/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/spec-driven-development/SKILL.upstream.md +206 -0
- package/skills/strategy-stress-test/SKILL.md +185 -0
- package/skills/systematic-literature-review/SKILL.md +77 -0
- package/skills/test-document-generator/SKILL.md +152 -0
- package/skills/test-document-generator/references/test-document-template.md +45 -0
- package/skills/test-driven-development/SKILL.md +399 -0
- package/skills/write-skills/GLOSSARY.md +113 -0
- package/skills/write-skills/SKILL.md +133 -0
- package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/LICENSE +21 -0
- package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/NOTICE.md +9 -0
- package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/productivity/writing-great-skills/GLOSSARY.md +201 -0
- package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/productivity/writing-great-skills/SKILL.upstream.md +83 -0
- package/src/runtime/child-guard.ts +70 -0
- package/src/runtime/conflicts.ts +25 -0
- package/src/runtime/contracts.ts +9 -0
- package/src/runtime/doctor.ts +134 -0
- package/src/runtime/global-resources.ts +152 -0
- package/src/runtime/index.ts +23 -0
- package/src/runtime/lifecycle.ts +19 -0
- package/src/runtime/native-integrations.ts +44 -0
- package/src/runtime/path-boundaries.ts +69 -0
- package/src/runtime/registry.ts +213 -0
- package/src/runtime/roles.ts +64 -0
- package/src/runtime/rose-context.ts +24 -0
- package/src/runtime/subagents.ts +426 -0
- package/templates/APPEND_SYSTEM.md +12 -0
- package/upstream/aili-workflows.lock.json +3226 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2023 The Young Serif Project Authors (https://github.com/noirblancrouge/YoungSerif)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Prompt Engineering Guide
|
|
2
|
+
|
|
3
|
+
## Image Prompts
|
|
4
|
+
|
|
5
|
+
- Be specific about composition: "left-aligned subject with negative space on the right for text overlay"
|
|
6
|
+
- Specify lighting: "soft studio lighting", "golden hour backlight", "flat diffused light"
|
|
7
|
+
- Include style modifiers: "editorial photography", "3D render", "flat vector illustration"
|
|
8
|
+
- Add technical specs: "4K resolution, sharp focus, shallow depth of field"
|
|
9
|
+
- For web assets: always mention "clean background", "web-optimized", "high contrast for readability"
|
|
10
|
+
- **NEVER** include text in image prompts unless explicitly requested — AI text rendering is unreliable
|
|
11
|
+
|
|
12
|
+
## Video Prompts
|
|
13
|
+
|
|
14
|
+
- Use MiniMax camera commands in brackets: `[Push in]`, `[Truck left]`, `[Tracking shot]`, etc.
|
|
15
|
+
- Describe scene, subject, lighting, and mood — the API auto-optimizes prompts by default
|
|
16
|
+
- For web backgrounds: keep 6s duration, add `[Static shot]` for stability
|
|
17
|
+
- Max 2,000 characters
|
|
18
|
+
|
|
19
|
+
## Audio / TTS
|
|
20
|
+
|
|
21
|
+
- Specify genre, tempo (BPM), mood, and instruments
|
|
22
|
+
- For background music: "no vocals, suitable for background, not distracting"
|
|
23
|
+
- For sound effects: be extremely specific about the sound event
|
|
24
|
+
- For TTS: choose voice matching content language and speaker gender
|
|
25
|
+
|
|
26
|
+
## Preset Shortcuts
|
|
27
|
+
|
|
28
|
+
| Shortcut | Spec |
|
|
29
|
+
|----------|------|
|
|
30
|
+
| `hero` | 16:9 (1280x720) image, cinematic, text-safe space |
|
|
31
|
+
| `thumb` | 1:1 (1024x1024) image, centered subject |
|
|
32
|
+
| `icon` | 1:1 (1024x1024), flat style, clean background |
|
|
33
|
+
| `avatar` | 1:1 (1024x1024), portrait, circular crop ready |
|
|
34
|
+
| `banner` | 21:9 (1344x576), OG/social banner |
|
|
35
|
+
| `portrait` | 2:3 (832x1248), vertical portrait |
|
|
36
|
+
| `mobile` | 9:16 (720x1280), mobile fullscreen |
|
|
37
|
+
| `bg-video` | 768P, 6s, `[Static shot]`, MiniMax Hailuo-2.3 |
|
|
38
|
+
| `video` | 768P, 6s, MiniMax Hailuo-2.3, prompt auto-optimized |
|
|
39
|
+
| `video-hd` | 1080P, 6s, MiniMax Hailuo-2.3 |
|
|
40
|
+
| `bgm` | 30s background music, no vocals, loopable |
|
|
41
|
+
| `sfx` | Short sound effect, < 3s |
|
|
42
|
+
| `tts` | Text-to-speech, MiniMax HD, MP3 |
|
|
43
|
+
| `narration` | Expressive narration voice, MiniMax |
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Getting Started
|
|
2
|
+
|
|
3
|
+
## 1. Set API key
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
export MINIMAX_API_KEY="<paste-your-key-here>"
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## 2. Install dependencies
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pip install requests
|
|
13
|
+
|
|
14
|
+
# FFmpeg (optional, for audio post-processing)
|
|
15
|
+
# macOS:
|
|
16
|
+
brew install ffmpeg
|
|
17
|
+
# Ubuntu:
|
|
18
|
+
sudo apt install ffmpeg
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## 3. Quick test
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
python scripts/minimax_tts.py "Hello world" -o test.mp3
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
If successful, you'll see `OK: xxxxx bytes -> test.mp3`.
|
|
28
|
+
|
|
29
|
+
## Next steps
|
|
30
|
+
|
|
31
|
+
- **Voice selection**: See [minimax-voice-catalog.md](minimax-voice-catalog.md)
|
|
32
|
+
- **TTS workflows**: See [minimax-tts-guide.md](minimax-tts-guide.md)
|
|
33
|
+
- **Troubleshooting**: See [troubleshooting.md](troubleshooting.md)
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# Provider Reference — MiniMax
|
|
2
|
+
|
|
3
|
+
All asset generation uses MiniMax API. Env: `MINIMAX_API_KEY` (required).
|
|
4
|
+
|
|
5
|
+
## Audio (Sync TTS)
|
|
6
|
+
|
|
7
|
+
**Script:** `scripts/minimax_tts.py`
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
python scripts/minimax_tts.py "Hello world" -o output.mp3
|
|
11
|
+
python scripts/minimax_tts.py "你好" -o hi.mp3 -v female-shaonv
|
|
12
|
+
python scripts/minimax_tts.py "Welcome" -o out.wav -v male-qn-jingying --speed 0.8 --format wav
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
**Model:** `speech-2.8-hd` (default).
|
|
16
|
+
|
|
17
|
+
| Flag | Default | Range / Options |
|
|
18
|
+
|------|---------|-----------------|
|
|
19
|
+
| `-o` | (required) | Output file path |
|
|
20
|
+
| `-v` | `male-qn-qingse` | Voice ID |
|
|
21
|
+
| `--model` | `speech-2.8-hd` | speech-2.8-hd / speech-2.8-turbo / speech-2.6-hd / speech-2.6-turbo |
|
|
22
|
+
| `--speed` | 1.0 | 0.5–2.0 |
|
|
23
|
+
| `--volume` | 1.0 | 0.1–10 |
|
|
24
|
+
| `--pitch` | 0 | -12 to 12 |
|
|
25
|
+
| `--emotion` | (auto) | happy / sad / angry / fearful / disgusted / surprised / calm / fluent / whisper |
|
|
26
|
+
| `--format` | mp3 | mp3 / wav / flac |
|
|
27
|
+
| `--lang` | auto | Language boost |
|
|
28
|
+
|
|
29
|
+
**Programmatic:**
|
|
30
|
+
```python
|
|
31
|
+
from minimax_tts import tts
|
|
32
|
+
audio_bytes = tts("Hello", voice_id="female-shaonv")
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## Video (Text-to-Video)
|
|
37
|
+
|
|
38
|
+
**Script:** `scripts/minimax_video.py`
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
python scripts/minimax_video.py "A cat playing piano" -o cat.mp4
|
|
42
|
+
python scripts/minimax_video.py "Ocean waves [Truck left]" -o waves.mp4 --duration 10
|
|
43
|
+
python scripts/minimax_video.py "City skyline [Push in]" -o city.mp4 --resolution 1080P
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
**Model:** `MiniMax-Hailuo-2.3` (default). Async: script handles create → poll → download automatically.
|
|
47
|
+
|
|
48
|
+
| Flag | Default | Options |
|
|
49
|
+
|------|---------|---------|
|
|
50
|
+
| `-o` | (required) | Output file path (.mp4) |
|
|
51
|
+
| `--model` | `MiniMax-Hailuo-2.3` | MiniMax-Hailuo-2.3 / MiniMax-Hailuo-02 / T2V-01-Director / T2V-01 |
|
|
52
|
+
| `--duration` | 6 | 6 / 10 (10s only at 768P with Hailuo models) |
|
|
53
|
+
| `--resolution` | 768P | 720P / 768P / 1080P (1080P only 6s) |
|
|
54
|
+
| `--no-optimize` | false | Disable prompt auto-optimization |
|
|
55
|
+
| `--poll-interval` | 10 | Seconds between status checks |
|
|
56
|
+
| `--max-wait` | 600 | Max wait time in seconds |
|
|
57
|
+
|
|
58
|
+
**Camera commands** — insert `[Command]` in prompt: `[Push in]`, `[Truck left]`, `[Pan right]`, `[Zoom out]`, `[Static shot]`, `[Tracking shot]`, etc.
|
|
59
|
+
|
|
60
|
+
**Programmatic:**
|
|
61
|
+
```python
|
|
62
|
+
from minimax_video import generate
|
|
63
|
+
generate("A cat playing piano", "cat.mp4", model="MiniMax-Hailuo-2.3", duration=6)
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
See [minimax-video-guide.md](minimax-video-guide.md) for full camera command list and model compatibility.
|
|
67
|
+
|
|
68
|
+
## Image (Text-to-Image)
|
|
69
|
+
|
|
70
|
+
**Script:** `scripts/minimax_image.py`
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
python scripts/minimax_image.py "A cat astronaut in space" -o cat.png
|
|
74
|
+
python scripts/minimax_image.py "Mountain landscape" -o hero.png --ratio 16:9
|
|
75
|
+
python scripts/minimax_image.py "Product icons, flat style" -o icons.png -n 4 --seed 42
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**Model:** `image-01`. Sync: returns image URL (or base64) immediately.
|
|
79
|
+
|
|
80
|
+
| Flag | Default | Options |
|
|
81
|
+
|------|---------|---------|
|
|
82
|
+
| `-o` | (required) | Output file path (.png/.jpg) |
|
|
83
|
+
| `--ratio` | 1:1 | 1:1 / 16:9 / 4:3 / 3:2 / 2:3 / 3:4 / 9:16 / 21:9 |
|
|
84
|
+
| `-n` | 1 | Number of images (1–9) |
|
|
85
|
+
| `--seed` | (random) | Seed for reproducibility |
|
|
86
|
+
| `--optimize` | false | Enable prompt auto-optimization |
|
|
87
|
+
| `--base64` | false | Return base64 instead of URL |
|
|
88
|
+
|
|
89
|
+
**Batch output:** with `-n > 1`, files are named `out-0.png`, `out-1.png`, etc.
|
|
90
|
+
|
|
91
|
+
**Programmatic:**
|
|
92
|
+
```python
|
|
93
|
+
from minimax_image import generate_image, download_and_save
|
|
94
|
+
result = generate_image("A cat in space", aspect_ratio="16:9")
|
|
95
|
+
download_and_save(result["data"]["image_urls"][0], "cat.png")
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
See [minimax-image-guide.md](minimax-image-guide.md) for ratio dimensions and details.
|
|
99
|
+
|
|
100
|
+
## Music (Text-to-Music)
|
|
101
|
+
|
|
102
|
+
**Script:** `scripts/minimax_music.py`
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
python scripts/minimax_music.py --prompt "Indie folk, melancholic" --lyrics "[verse]\nStreetlights flicker" -o song.mp3
|
|
106
|
+
python scripts/minimax_music.py --prompt "Upbeat pop, energetic" --auto-lyrics -o pop.mp3
|
|
107
|
+
python scripts/minimax_music.py --prompt "Jazz piano, smooth, relaxing" --instrumental -o jazz.mp3
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**Model:** `music-2.5+` (default). Sync: returns audio hex or URL.
|
|
111
|
+
|
|
112
|
+
| Flag | Default | Options |
|
|
113
|
+
|------|---------|---------|
|
|
114
|
+
| `-o` | (required) | Output file path (.mp3/.wav) |
|
|
115
|
+
| `--prompt` | (empty) | Music description: style, mood, scenario (max 2000 chars) |
|
|
116
|
+
| `--lyrics` | (empty) | Song lyrics with structure tags (max 3500 chars) |
|
|
117
|
+
| `--lyrics-file` | (empty) | Read lyrics from file |
|
|
118
|
+
| `--model` | `music-2.5+` | music-2.5+ / music-2.5 |
|
|
119
|
+
| `--instrumental` | false | Generate instrumental only (no vocals, music-2.5+ only) |
|
|
120
|
+
| `--auto-lyrics` | false | Auto-generate lyrics from prompt |
|
|
121
|
+
| `--format` | mp3 | mp3 / wav / pcm |
|
|
122
|
+
| `--sample-rate` | 44100 | 16000 / 24000 / 32000 / 44100 |
|
|
123
|
+
| `--bitrate` | 256000 | 32000 / 64000 / 128000 / 256000 |
|
|
124
|
+
|
|
125
|
+
**Lyrics structure tags:** `[Intro]`, `[Verse]`, `[Pre Chorus]`, `[Chorus]`, `[Interlude]`, `[Bridge]`, `[Outro]`, `[Post Chorus]`, `[Transition]`, `[Break]`, `[Hook]`, `[Build Up]`, `[Inst]`, `[Solo]`
|
|
126
|
+
|
|
127
|
+
**Programmatic:**
|
|
128
|
+
```python
|
|
129
|
+
from minimax_music import generate_music
|
|
130
|
+
result = generate_music(prompt="Jazz piano", is_instrumental=True)
|
|
131
|
+
with open("jazz.mp3", "wb") as f:
|
|
132
|
+
f.write(result["audio_bytes"])
|
|
133
|
+
```
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Image Generation Guide
|
|
2
|
+
|
|
3
|
+
## CLI usage
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
# Basic (1:1, 1024x1024)
|
|
7
|
+
python scripts/minimax_image.py "A cat astronaut floating in space" -o cat.png
|
|
8
|
+
|
|
9
|
+
# 16:9 for hero banner
|
|
10
|
+
python scripts/minimax_image.py "Mountain landscape at golden hour" -o hero.png --ratio 16:9
|
|
11
|
+
|
|
12
|
+
# Batch: 4 images at once
|
|
13
|
+
python scripts/minimax_image.py "Minimalist product icon" -o icons.png -n 4
|
|
14
|
+
|
|
15
|
+
# With seed for reproducibility
|
|
16
|
+
python scripts/minimax_image.py "Abstract gradient background" -o bg.png --seed 42
|
|
17
|
+
|
|
18
|
+
# Enable prompt optimization
|
|
19
|
+
python scripts/minimax_image.py "a dog" -o dog.png --optimize
|
|
20
|
+
|
|
21
|
+
# Base64 mode (no URL download, save directly)
|
|
22
|
+
python scripts/minimax_image.py "Logo concept" -o logo.png --base64
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Programmatic usage
|
|
26
|
+
|
|
27
|
+
```python
|
|
28
|
+
from minimax_image import generate_image, download_and_save
|
|
29
|
+
|
|
30
|
+
# Generate and get URL
|
|
31
|
+
result = generate_image("A cat in space", aspect_ratio="16:9")
|
|
32
|
+
url = result["data"]["image_urls"][0]
|
|
33
|
+
download_and_save(url, "cat.png")
|
|
34
|
+
|
|
35
|
+
# Generate multiple
|
|
36
|
+
result = generate_image("Icon design", n=4, aspect_ratio="1:1")
|
|
37
|
+
for i, url in enumerate(result["data"]["image_urls"]):
|
|
38
|
+
download_and_save(url, f"icon-{i}.png")
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Model
|
|
42
|
+
|
|
43
|
+
Currently only `image-01`.
|
|
44
|
+
|
|
45
|
+
## Aspect ratios & dimensions
|
|
46
|
+
|
|
47
|
+
| Ratio | Pixels | Use case |
|
|
48
|
+
|-------|--------|----------|
|
|
49
|
+
| `1:1` | 1024x1024 | Avatar, icon, square thumbnail |
|
|
50
|
+
| `16:9` | 1280x720 | Hero banner, video thumbnail |
|
|
51
|
+
| `4:3` | 1152x864 | Standard landscape |
|
|
52
|
+
| `3:2` | 1248x832 | Photo-style |
|
|
53
|
+
| `2:3` | 832x1248 | Portrait, mobile |
|
|
54
|
+
| `3:4` | 864x1152 | Portrait card |
|
|
55
|
+
| `9:16` | 720x1280 | Mobile fullscreen, story |
|
|
56
|
+
| `21:9` | 1344x576 | Ultra-wide banner |
|
|
57
|
+
|
|
58
|
+
Custom dimensions also supported: width/height in [512, 2048], must be divisible by 8.
|
|
59
|
+
|
|
60
|
+
## Limits
|
|
61
|
+
|
|
62
|
+
- Prompt: max 1,500 characters
|
|
63
|
+
- Batch: 1–9 images per request
|
|
64
|
+
- URL expires after 24 hours (use `--base64` to avoid expiry)
|
|
65
|
+
- Seed: set for reproducible results across identical prompts
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
# Music Generation Guide
|
|
2
|
+
|
|
3
|
+
## CLI Usage
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
# Instrumental (no vocals)
|
|
7
|
+
python scripts/minimax_music.py --prompt "Jazz piano, smooth, relaxing" --instrumental -o jazz.mp3
|
|
8
|
+
|
|
9
|
+
# With custom lyrics
|
|
10
|
+
python scripts/minimax_music.py --prompt "Indie folk, melancholic" --lyrics "[verse]\nStreetlights flicker\nOn empty roads" -o song.mp3
|
|
11
|
+
|
|
12
|
+
# Auto-generate lyrics from prompt
|
|
13
|
+
python scripts/minimax_music.py --prompt "Upbeat pop, energetic, summer vibes" --auto-lyrics -o pop.mp3
|
|
14
|
+
|
|
15
|
+
# From lyrics file
|
|
16
|
+
python scripts/minimax_music.py --prompt "Soulful blues, rainy night" --lyrics-file lyrics.txt -o blues.mp3
|
|
17
|
+
|
|
18
|
+
# Custom audio settings
|
|
19
|
+
python scripts/minimax_music.py --prompt "Lo-fi beats" --instrumental -o lofi.wav --format wav --sample-rate 44100 --bitrate 256000
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Programmatic Usage
|
|
23
|
+
|
|
24
|
+
```python
|
|
25
|
+
from minimax_music import generate_music
|
|
26
|
+
|
|
27
|
+
# Instrumental
|
|
28
|
+
result = generate_music(prompt="Jazz piano, smooth", is_instrumental=True)
|
|
29
|
+
with open("jazz.mp3", "wb") as f:
|
|
30
|
+
f.write(result["audio_bytes"])
|
|
31
|
+
|
|
32
|
+
# With lyrics
|
|
33
|
+
result = generate_music(
|
|
34
|
+
prompt="Indie folk, acoustic guitar",
|
|
35
|
+
lyrics="[verse]\nWalking through the rain\n[chorus]\nI'll find my way home",
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
# Auto-generate lyrics
|
|
39
|
+
result = generate_music(
|
|
40
|
+
prompt="Upbeat pop, summer anthem",
|
|
41
|
+
lyrics_optimizer=True,
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
# Access metadata
|
|
45
|
+
print(f"Duration: {result['duration']}ms")
|
|
46
|
+
print(f"Sample rate: {result['sample_rate']}")
|
|
47
|
+
print(f"Size: {result['size']} bytes")
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Models
|
|
51
|
+
|
|
52
|
+
| Model | Features |
|
|
53
|
+
|-------|----------|
|
|
54
|
+
| `music-2.5+` | Recommended. Supports instrumental mode, complete song structures, hi-fi audio |
|
|
55
|
+
| `music-2.5` | Standard model. No instrumental mode |
|
|
56
|
+
|
|
57
|
+
## Prompt Writing
|
|
58
|
+
|
|
59
|
+
The `prompt` parameter describes music style using comma-separated descriptors:
|
|
60
|
+
|
|
61
|
+
| Category | Examples |
|
|
62
|
+
|----------|----------|
|
|
63
|
+
| Genre | Blues, Pop, Rock, Jazz, Electronic, Hip-hop, Folk, Classical |
|
|
64
|
+
| Mood | Soulful, Melancholy, Upbeat, Energetic, Peaceful, Dark, Nostalgic |
|
|
65
|
+
| Scenario | Rainy night, Summer day, Road trip, Late night, Sunrise |
|
|
66
|
+
| Instrumentation | Electric guitar, Piano, Acoustic, Synthesizer, Strings |
|
|
67
|
+
| Vocal type | Male vocals, Female vocals, Soft vocals, Powerful vocals |
|
|
68
|
+
| Tempo | Slow tempo, Fast tempo, Mid-tempo, Relaxed |
|
|
69
|
+
|
|
70
|
+
**Example prompts:**
|
|
71
|
+
```
|
|
72
|
+
"Soulful Blues, Rainy Night, Melancholy, Male Vocals, Slow Tempo"
|
|
73
|
+
"Upbeat Pop, Summer Vibes, Female Vocals, Energetic, Synth-heavy"
|
|
74
|
+
"Lo-fi Hip-hop, Chill, Relaxed, Instrumental, Piano samples"
|
|
75
|
+
"Cinematic Orchestral, Epic, Building tension, Strings and Brass"
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Lyrics Format
|
|
79
|
+
|
|
80
|
+
Use structure tags in brackets to organize song sections:
|
|
81
|
+
|
|
82
|
+
### Structure Tags
|
|
83
|
+
|
|
84
|
+
| Tag | Purpose |
|
|
85
|
+
|-----|---------|
|
|
86
|
+
| `[Intro]` | Opening section (can be instrumental) |
|
|
87
|
+
| `[Verse]` / `[Verse 1]` | Story/narrative sections |
|
|
88
|
+
| `[Pre-Chorus]` | Build-up before chorus |
|
|
89
|
+
| `[Chorus]` | Main hook, typically repeated |
|
|
90
|
+
| `[Post Chorus]` | Extension after chorus |
|
|
91
|
+
| `[Bridge]` | Contrasting section near end |
|
|
92
|
+
| `[Interlude]` | Instrumental break |
|
|
93
|
+
| `[Solo]` | Instrumental solo (add direction: "slow, bluesy") |
|
|
94
|
+
| `[Outro]` | Closing section |
|
|
95
|
+
| `[Break]` | Short pause or transition |
|
|
96
|
+
| `[Hook]` | Catchy repeated phrase |
|
|
97
|
+
| `[Build Up]` | Tension building section |
|
|
98
|
+
| `[Inst]` | Instrumental section |
|
|
99
|
+
| `[Transition]` | Section change |
|
|
100
|
+
|
|
101
|
+
### Backing Vocals & Directions
|
|
102
|
+
|
|
103
|
+
Use parentheses for backing vocals or performance notes:
|
|
104
|
+
```
|
|
105
|
+
(Ooh, yeah)
|
|
106
|
+
(Harmonize)
|
|
107
|
+
(Whispered)
|
|
108
|
+
(Fade out...)
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Example Lyrics
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
[Intro]
|
|
115
|
+
(Soft piano)
|
|
116
|
+
|
|
117
|
+
[Verse 1]
|
|
118
|
+
Streetlights flicker on empty roads
|
|
119
|
+
The rain keeps falling, the wind still blows
|
|
120
|
+
I'm walking home with nowhere to go
|
|
121
|
+
Just memories of what I used to know
|
|
122
|
+
|
|
123
|
+
[Pre-Chorus]
|
|
124
|
+
And I can feel it coming back to me
|
|
125
|
+
(Coming back to me)
|
|
126
|
+
|
|
127
|
+
[Chorus]
|
|
128
|
+
Under the neon lights tonight
|
|
129
|
+
I'm searching for what feels right
|
|
130
|
+
(Oh, feels right)
|
|
131
|
+
These city streets will guide me home
|
|
132
|
+
I'm tired of feeling so alone
|
|
133
|
+
|
|
134
|
+
[Verse 2]
|
|
135
|
+
Coffee shops and midnight trains
|
|
136
|
+
The faces change but the feeling remains
|
|
137
|
+
...
|
|
138
|
+
|
|
139
|
+
[Bridge]
|
|
140
|
+
Maybe tomorrow will be different
|
|
141
|
+
Maybe I'll finally understand
|
|
142
|
+
(Understand...)
|
|
143
|
+
|
|
144
|
+
[Solo]
|
|
145
|
+
(Slow, mournful, bluesy guitar)
|
|
146
|
+
|
|
147
|
+
[Outro]
|
|
148
|
+
(Fade out...)
|
|
149
|
+
Under the neon lights...
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
## Audio Settings
|
|
153
|
+
|
|
154
|
+
| Parameter | Options | Default | Notes |
|
|
155
|
+
|-----------|---------|---------|-------|
|
|
156
|
+
| `format` | mp3, wav, pcm | mp3 | WAV for highest quality |
|
|
157
|
+
| `sample_rate` | 16000, 24000, 32000, 44100 | 44100 | 44100 recommended |
|
|
158
|
+
| `bitrate` | 32000, 64000, 128000, 256000 | 256000 | Higher = better quality |
|
|
159
|
+
|
|
160
|
+
## Generation Modes
|
|
161
|
+
|
|
162
|
+
### 1. Instrumental Only
|
|
163
|
+
```bash
|
|
164
|
+
python scripts/minimax_music.py --prompt "Ambient electronic, space theme" --instrumental -o ambient.mp3
|
|
165
|
+
```
|
|
166
|
+
- Requires `music-2.5+` model
|
|
167
|
+
- Only `prompt` needed, no lyrics
|
|
168
|
+
|
|
169
|
+
### 2. With Custom Lyrics
|
|
170
|
+
```bash
|
|
171
|
+
python scripts/minimax_music.py --prompt "Pop ballad, emotional" --lyrics "[verse]\nYour lyrics here" -o ballad.mp3
|
|
172
|
+
```
|
|
173
|
+
- Provide both `prompt` (style) and `lyrics` (words + structure)
|
|
174
|
+
|
|
175
|
+
### 3. Auto-Generated Lyrics
|
|
176
|
+
```bash
|
|
177
|
+
python scripts/minimax_music.py --prompt "Rock anthem about freedom" --auto-lyrics -o rock.mp3
|
|
178
|
+
```
|
|
179
|
+
- System generates lyrics from prompt
|
|
180
|
+
- Good for quick generation when lyrics aren't critical
|
|
181
|
+
|
|
182
|
+
## Limits
|
|
183
|
+
|
|
184
|
+
- **Prompt:** max 2,000 characters
|
|
185
|
+
- **Lyrics:** 1–3,500 characters
|
|
186
|
+
- **Duration:** ~25-30 seconds per generation (varies)
|
|
187
|
+
- **URL expiration:** 24 hours (when using URL output mode)
|
|
188
|
+
|
|
189
|
+
## Best Practices
|
|
190
|
+
|
|
191
|
+
1. **Layer style descriptors** — Combine genre + mood + instrumentation for precise results
|
|
192
|
+
2. **Use structure tags** — Even simple `[verse]` `[chorus]` improves arrangement
|
|
193
|
+
3. **Include backing vocal cues** — `(Ooh)`, `(Yeah)` add production polish
|
|
194
|
+
4. **Match prompt to lyrics mood** — Conflicting prompt/lyrics produce inconsistent results
|
|
195
|
+
5. **Instrumental for backgrounds** — Use `--instrumental` for BGM, avoiding vocal distractions
|
|
196
|
+
6. **High bitrate for production** — Use 256000 for final assets, lower for drafts
|
|
197
|
+
|
|
198
|
+
## Common Use Cases
|
|
199
|
+
|
|
200
|
+
| Use Case | Command |
|
|
201
|
+
|----------|---------|
|
|
202
|
+
| Background music | `--prompt "Lo-fi, calm, ambient" --instrumental` |
|
|
203
|
+
| Landing page hero | `--prompt "Cinematic, inspiring, building" --instrumental` |
|
|
204
|
+
| Podcast intro | `--prompt "Upbeat, energetic, short" --instrumental` |
|
|
205
|
+
| Demo song | `--prompt "Pop, catchy" --auto-lyrics` |
|
|
206
|
+
| Custom jingle | `--prompt "Happy, bright, corporate" --lyrics "[hook]\nYour brand name"` |
|
|
207
|
+
|
|
208
|
+
## Error Handling
|
|
209
|
+
|
|
210
|
+
| Error Code | Meaning | Solution |
|
|
211
|
+
|------------|---------|----------|
|
|
212
|
+
| 1002 | Rate limit | Wait and retry |
|
|
213
|
+
| 1004 | Auth failed | Check API key |
|
|
214
|
+
| 1008 | Insufficient balance | Top up account |
|
|
215
|
+
| 1026 | Content flagged | Rephrase prompt/lyrics |
|
|
216
|
+
| 2013 | Invalid parameters | Check prompt/lyrics length |
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# TTS Guide
|
|
2
|
+
|
|
3
|
+
## CLI usage (recommended)
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
# Basic
|
|
7
|
+
python scripts/minimax_tts.py "Hello world" -o output.mp3
|
|
8
|
+
|
|
9
|
+
# Custom voice and speed
|
|
10
|
+
python scripts/minimax_tts.py "你好世界" -o hi.mp3 -v female-shaonv --speed 0.9
|
|
11
|
+
|
|
12
|
+
# WAV format, high quality
|
|
13
|
+
python scripts/minimax_tts.py "Welcome" -o out.wav -v male-qn-jingying --format wav --sample-rate 32000
|
|
14
|
+
|
|
15
|
+
# With emotion (for speech-2.6 models)
|
|
16
|
+
python scripts/minimax_tts.py "Great news!" -o happy.mp3 -v female-shaonv --emotion happy --model speech-2.6-hd
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Programmatic usage
|
|
20
|
+
|
|
21
|
+
```python
|
|
22
|
+
from minimax_tts import tts
|
|
23
|
+
|
|
24
|
+
# Basic
|
|
25
|
+
audio_bytes = tts("Hello world")
|
|
26
|
+
|
|
27
|
+
# With options
|
|
28
|
+
audio_bytes = tts(
|
|
29
|
+
text="Welcome to our product.",
|
|
30
|
+
voice_id="female-shaonv",
|
|
31
|
+
model="speech-2.8-hd",
|
|
32
|
+
speed=0.9,
|
|
33
|
+
fmt="mp3",
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
# Save to file
|
|
37
|
+
with open("output.mp3", "wb") as f:
|
|
38
|
+
f.write(audio_bytes)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Limits
|
|
42
|
+
|
|
43
|
+
- **Sync TTS:** max 10,000 characters per request
|
|
44
|
+
- **Pause markers:** insert `<#1.5#>` for a 1.5s pause (range: 0.01–99.99s)
|
|
45
|
+
|
|
46
|
+
## Model selection
|
|
47
|
+
|
|
48
|
+
| Model | Best for |
|
|
49
|
+
|-------|----------|
|
|
50
|
+
| `speech-2.8-hd` | Highest quality, auto emotion (recommended) |
|
|
51
|
+
| `speech-2.8-turbo` | Fast, good quality |
|
|
52
|
+
| `speech-2.6-hd` | Manual emotion control needed |
|
|
53
|
+
| `speech-2.6-turbo` | Fast + manual emotion |
|
|
54
|
+
|
|
55
|
+
## Voice selection
|
|
56
|
+
|
|
57
|
+
See [minimax-voice-catalog.md](minimax-voice-catalog.md) for the full list.
|
|
58
|
+
|
|
59
|
+
Common voices:
|
|
60
|
+
|
|
61
|
+
| Voice ID | Gender | Style |
|
|
62
|
+
|----------|--------|-------|
|
|
63
|
+
| `male-qn-qingse` | Male | Young, gentle |
|
|
64
|
+
| `male-qn-jingying` | Male | Elite, authoritative |
|
|
65
|
+
| `male-qn-badao` | Male | Dominant, powerful |
|
|
66
|
+
| `female-shaonv` | Female | Young, bright |
|
|
67
|
+
| `female-yujie` | Female | Mature, elegant |
|
|
68
|
+
| `female-chengshu` | Female | Sophisticated |
|
|
69
|
+
| `presenter_male` | Male | News presenter |
|
|
70
|
+
| `presenter_female` | Female | News presenter |
|
|
71
|
+
| `audiobook_male_1` | Male | Audiobook narrator |
|
|
72
|
+
| `audiobook_female_1` | Female | Audiobook narrator |
|
|
73
|
+
|
|
74
|
+
## Best practices
|
|
75
|
+
|
|
76
|
+
- Use `speech-2.8-hd` and let emotion auto-match — don't manually set emotion unless needed
|
|
77
|
+
- Use 32000 sample rate for web audio (good balance of quality and file size)
|
|
78
|
+
- For long text (>10,000 chars), split into chunks and merge with FFmpeg
|