Replace Pairs
PUT/models/{modelId}/training-images/pairs
Replace all training image pairs for the given modelId (at most 50). Edit models pair a sourceId with a targetId. MiniMax H3 Ref (minimax-h3-ref-lora) pairs are its dataset: a video targetId (5.25 to 30 seconds), its caption in instruction (or the video description) and 1 to 12 referenceIds (at most 9 images, 3 videos of 2 to 15 seconds and 3 audio files, at least one image or video, none of them the target or repeated); each video target may appear in only one pair. Training needs at least 5 pairs and checks the target durations and the 400 MB cap on every file when it starts.
Replace Pairs
curl https://api.cloud.scenario.com/v1/models/$MODEL_ID/training-images/pairs \
-X PUT \
-H 'Content-Type: application/json' \
-u "$SCENARIO_SDK_API_KEY:SCENARIO_SDK_API_SECRET" \
-d '[
{
"instruction": "instruction",
"referenceIds": [
"string"
],
"sourceId": "sourceId",
"targetId": "targetId"
}
]'{
"count": 0,
"pairs": [
{
"instruction": "instruction",
"referenceIds": [
"string"
],
"sourceId": "sourceId",
"targetId": "targetId"
}
]
}Returns Examples
{
"count": 0,
"pairs": [
{
"instruction": "instruction",
"referenceIds": [
"string"
],
"sourceId": "sourceId",
"targetId": "targetId"
}
]
}