Image as Reference
lab_referenz_aus_bildAttach an existing project image (an image_id from lab_umzug, lab_get_job result.bildzeilen or lab_generate) as reference: ziel: 'figur' makes it a view of a character (default view 'detail', the face anchor). personenbezug is REQUIRED for a character and has no default: 'keine_reale_person' or 'reale_person' — the latter needs a likeness_ref from the Likeness Register and turns the character into a digital double, checked before every later generation. ziel: 'location' stores it as the location's reference (viewer, continuity check). It does NOT steer generation — only the description does; beschreibung_ableiten: true derives the description from the image (does not overwrite an existing one unless ersetzen). Your own image from lab_add_media has no image_id: give project_id + asset_key instead (character only), with the same person question. An occupied character view answers 409 unless ersetzen: true. Free, except the description derivation (one vision call).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ziel": "<ziel>",
"ziel_id": "<ziel_id>"
},
"name": "lab_referenz_aus_bild"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | ||
| ziel | Yes | ||
| ziel_id | Yes | Character id or location id | |
| ersetzen | No | ||
| image_id | No | Image id from lab_umzug {bilder}, lab_get_job result.bildzeilen or lab_generate. Give this OR asset_key | |
| asset_key | No | Character only: asset_key of your own image from lab_add_media (needs project_id). Give this OR image_id | |
| project_id | No | With asset_key only: the project the image was uploaded to — positive integer as string | |
| likeness_ref | No | Character + reale_person only: Likeness Register id | |
| personenbezug | No | Character only, REQUIRED there: does the image show a real person? | |
| beschreibung_ableiten | No | Location only |