Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

The settings that made a take, to pre-fill Create

POST
/v1/studio/takes/{take_id}/reuse
curl --request POST \
--url http://localhost:8300/v1/studio/takes/example/reuse \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <x-api-key>'

workflow_id and inputs = made_with.inputs (every param, the seed the runner used instead of random), ready to post as a RunRequest or to load into the form; image values come back as recorded ({take_id}), so a reference deleted since makes that request 422. Nothing is created. 409 for an upload or an import (it has no settings). workflow_status compares the workflow now with the one that made the take: current (a template still published, or a user workflow at made_with.workflow_version), changed (a user workflow edited since: keys that are no longer a settable param of it are dropped from inputs, the rest kept), deleted (no longer published, or deleted: inputs as recorded; a run of it is 422). With elements: inputs = made_with.inputs with made_with.typed laid over it, so the prompt comes back as typed (with its mentions) and the reference rows without the element images; elements_status says, per element of made_with.elements, whether running it again would resolve the same (current), differently (changed: edited since) or not at all (deleted). With LoRAs: inputs hold them as recorded ({lora_id}); loras_status says, per made_with.loras entry, current (the caller can use it now), missing (shared: no live host lists it now; it may come back) or deleted (own: deleted since). Running a missing or deleted one is 422 (… LoRA <id> not found). With looks: inputs come back without what the looks added (the typed view), looks = the ids of made_with.looks (send them as RunRequest.looks), looks_status per look: current, changed, deleted (own) or missing (starter, no live host publishes it now).

take_id
required
string

Take UUID (malformed = 404)

The settings

Media typeapplication/json
object
workflow_id
required
string
inputs
required

<node id>.<param name> → value; only the params to change

object
key
additional properties
Any of:

Null only for a seed (random) or an image, media, span or voice param left empty

string | number | boolean | null
workflow_status

Reuse only (not use): how the workflow now compares with the one that made the take (studioReuseTake)

string
Allowed values: current changed deleted
elements_status

Reuse only: one per made_with.elements entry, same order; absent or empty when the take mentioned none

Array<object>
object
id
required
string format: uuid
handle
required

As recorded (the prompt that comes back mentions this one)

string
status
required

Current: same version now; changed: edited since (another version); deleted

string
Allowed values: current changed deleted
current_handle
required

Its handle now (differs from handle after a rename: the returned prompt then no longer names it); null when deleted

string | null
loras_status

Reuse only: one per made_with.loras entry, same order; absent or empty without LoRAs

Array<object>
object
id
required
string
status
required

Current: the caller can use it now; missing: shared, no live host lists it now; deleted: own, deleted since

string
Allowed values: current missing deleted
looks

Reuse only: the ids of made_with.looks, in order, as recorded (send them back as RunRequest.looks); absent or empty without looks

Array<string>
<= 8 items
looks_status

Reuse only: one per made_with.looks entry, same order; absent or empty without looks

Array<object>
object
id
required

A look: one of the caller’s own (a UUID) or a starter look <family>/<pack look id> (stable across hosts)

string
/^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|[a-z0-9][a-z0-9_-]{0,63}/[a-z0-9][a-z0-9-]{0,63})$/
status
required

Current: the same version is there now; changed: another version now (edited since, or a pack that bumped it); deleted: an own look deleted since; missing: a starter look no live host publishes now (it may come back). Running a deleted or missing one is 422 looks[<i>]: unknown look <id>

string
Allowed values: current changed deleted missing

Example

{
"inputs": {
"prompt.text": "a red fox",
"echo.steps": 20
},
"workflow_status": "current",
"elements_status": [
{
"status": "current"
}
],
"loras_status": [
{
"status": "current"
}
],
"looks": [
"qwen-image/window-light"
],
"looks_status": [
{
"id": "qwen-image/window-light",
"status": "current"
}
]
}

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Not found

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

The resource’s state forbids this

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}