{
  "form": {
    "page": "Create a LoRA",
    "fields": {
      "name": [
        null,
        "LoRA name"
      ],
      "model": [
        null,
        "Base model"
      ],
      "sets": [
        "Pair set {n}",
        "Instruction"
      ],
      "source": [
        "Pair set {n}",
        "Source (before)"
      ],
      "target": [
        "Pair set {n}",
        "Target (after)"
      ],
      "captions": [
        "Pair set {n}",
        "Per-image instructions"
      ],
      "steps": [
        null,
        "Steps"
      ],
      "rank": [
        null,
        "Rank"
      ],
      "lr": [
        null,
        "Learning rate"
      ],
      "resolution": [
        null,
        "Resolution"
      ],
      "save_every": [
        null,
        "Checkpoint every"
      ],
      "seed": [
        null,
        "Sample seed"
      ]
    },
    "models": {
      "qwen-image-edit-2511": "Qwen Image Edit 2511"
    }
  },
  "templates": [
    {
      "id": "upscale",
      "name": "Upscale an image",
      "doc": "/docs/training-templates#g-upscale-an-image",
      "name_hint": "upscaler",
      "datasets": {
        "source": "the low-resolution or degraded copies",
        "target": "the originals, sharp and full size, each named like its copy"
      },
      "judge": "upscale-check",
      "settings": {
        "model": "qwen-image-edit-2511",
        "resolution": 1536,
        "steps": 2000,
        "rank": 32,
        "sets": [
          {
            "prompt": "Upscale this image to high resolution. Restore fine detail and sharpness, and keep the content, colours and composition exactly the same."
          }
        ]
      }
    },
    {
      "id": "insert-person",
      "name": "Insert a person",
      "doc": "/docs/training-templates#g-insert-a-person",
      "name_hint": "ohwx-person-insert",
      "datasets": {
        "source": "the scenes without the person",
        "target": "the same photos with the person, each named like its scene",
        "captions": "optional: where to put the person in each photo"
      },
      "judge": "person-added",
      "settings": {
        "model": "qwen-image-edit-2511",
        "resolution": 1024,
        "steps": 2500,
        "rank": 32,
        "sets": [
          {
            "prompt": "Add ohwx person to this photo, in a natural pose, lit and coloured to match the scene."
          }
        ]
      }
    },
    {
      "id": "replace-person",
      "name": "Replace a person",
      "doc": "/docs/training-templates#g-replace-a-person",
      "name_hint": "ohwx-person-replace",
      "datasets": {
        "source": "the photos with someone else in place of the person",
        "target": "the same photos with the person, each named like its source"
      },
      "judge": "person-swap",
      "settings": {
        "model": "qwen-image-edit-2511",
        "resolution": 1024,
        "steps": 2500,
        "rank": 32,
        "sets": [
          {
            "prompt": "Replace the person in this photo with ohwx person. Keep the pose, expression, clothes and the rest of the photo the same."
          }
        ]
      }
    }
  ]
}
