MiniH3
EnglishTools

Recipe recommendations and catalog

中文

POSThttps://api.minih3.dev/v1/tools/recipes-v1

Purpose: without action, as before: the recipes adapt-v1's older single recipe can use (ids and names only), with the optional filters dimension, genre and stage; an empty list while no library is available.
action: "recommend": for one breakdown (breakdown_id, the bi_… from breakdown-v1), recipe packs by genre (at most 3, each used whole) and general recipes per adapt step (adapt.outline / adapt.script / adapt.shots, at most 3 per step). Each carries only its id, version, name, one-line note, effect, why it is recommended, the shot numbers it would touch (anchors) and the kinds of adaptation it can be used in (usable_in); never recipe content. Without model (the video model), only recipes that do not depend on a video model are recommended. pack_id names the pack whose gaps the general recipes fill (none = no pack); left out, the first pack is used (gap_pack): general recipes the pack already covers are left out and the others carry fills.
action: "list": the catalog (recipes and the official packs), filtered by library, step or tag. With action, dimension, genre and stage are ignored.
Send the recipes the user confirms as adapt-v1 stage: "intake" answers.recipes (see adapt-v1). Recipe content never leaves the server.
Billing: free. Rules only, no model call, answers at once.

Parameters

NameInTypeRequiredDescription
X-MiniH3-Skill-Versionheaderstringno

The skill-pack version you use (in SKILL.md and the pack's VERSION file, plus one on every upgrade; the current one is 13). Compared as numbers, segment by segment (10 is newer than 9, 2 equals 2.0). When it is missing, not numeric or older than the current pack, the answer adds the X-MiniH3-Notice header, and a 2xx JSON answer of /v1/tools/* also adds the minih3_notice field; the result is unchanged, never an error, never an extra charge.

actionbodystringno

Left out = the older single-recipe catalog

recommendlist
breakdown_idbodystringno

Required for recommend: the bi_… from breakdown-v1 (404 record_not_found when it is not one of yours)

modelbodystringno

Optional for recommend: the video model; left out, only recipes that do not depend on one

h3seedancegrokminimax
pack_idbodystringno

Optional for recommend: fill the gaps of this pack; none = no pack

librarybodystringno

Optional for list

generalpack
stepbodystringno

Optional for list

adapt.outlineadapt.scriptadapt.shots
tagbodystringno

Optional for list

asset_extractasset_genscriptshotscameraactiondialoguepacingother
report_languagebodystringno

The language of names, notes and effects

enzh
dimensionbodystringno

Without action

genre_promisefirst_cardcharacter_relationshipplot_causalityemotion_curvepacingshot_directionsound_narrativevisual_styleasset_continuityedit_audiovisualscene_dialogueworld_rules
genrebodystringno

Without action

stagebodystringno

Without action

outlinescriptshots

Code samples

curl -X POST "https://api.minih3.dev/v1/tools/recipes-v1" \
  -H "Authorization: Bearer $MINIH3_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "recommend",
  "breakdown_id": "bi_xxxxxxxxxxxxxxxxxxxxxxxx",
  "model": "h3",
  "report_language": "zh"
}'

Try it

Kept in this browser tab only (sessionStorage) and sent straight to api.minih3.dev; it never reaches this site.

Enter your key to send.

Responses

200

Recommendations, the catalog, or the older single-recipe catalog

{
  "action": "recommend",
  "breakdown_id": "bi_xxxxxxxxxxxxxxxxxxxxxxxx",
  "model": "h3",
  "packs": [
    {
      "id": "pk-…",
      "version": "…-v2",
      "name": "(包名 / pack name)",
      "note": "",
      "genres": [
        "revenge"
      ],
      "recipe_count": 12,
      "points": {
        "adapt.outline": 5,
        "adapt.script": 6,
        "adapt.shots": 4
      }
    }
  ],
  "gap_pack": {
    "id": "pk-…",
    "version": "…-v2"
  },
  "steps": {
    "adapt.outline": [],
    "adapt.script": [],
    "adapt.shots": [
      {
        "id": "00000000-0000-5000-8000-000000000000",
        "version": "1-abcdef12",
        "library": "general",
        "name": "(名称 / name)",
        "note": "(一句话 / one line)",
        "effect": "(效果 / effect)",
        "steps": {
          "adapt.shots": "inject"
        },
        "stage_scope": [
          "adapt.shots"
        ],
        "tags": [
          "camera"
        ],
        "genres": [],
        "models": [
          "generic"
        ],
        "changes_plot": false,
        "evidence": "doc",
        "status": "candidate",
        "usable_in": [
          "adapted_changed",
          "adapted_kept",
          "original"
        ],
        "point": "adapt.shots",
        "mode": "inject",
        "why": {
          "appeal": "suspense",
          "shot_features": {
            "static_heavy": [
              1,
              2,
              3
            ]
          }
        },
        "anchors": [
          1,
          2,
          3
        ],
        "fills": [
          "camera"
        ]
      }
    ]
  },
  "matched": {
    "genres": [
      "revenge"
    ],
    "appeals": [
      "suspense"
    ],
    "narrative": "dialogue",
    "shot_features": {
      "static_heavy": 30
    }
  },
  "limits": {
    "per_step": 3,
    "packs": 3
  },
  "next": {
    "hint": "…"
  }
}

400

Error

404

Error