falaw.operations.preproduction#
Pre-production: produce reusable identity anchors for a Scene.
The downstream renderer reuses Character.reference_image_url for every shot featuring that character, and Character.voice for every line they speak. So the quality of the anchors set here propagates everywhere.
Each function returns an updated entity (Character / Environment) you
can feed back into the Scene via scene.with_character(...) etc.
Functions
|
Create a Character with a canonical face (and optional voice). |
|
Attach or update the Voice on a Character. |
|
Create an Environment with a canonical establishing image. |
|
Render a storyboard still for a Shot. |
- falaw.operations.preproduction.cast_character(name, description, *, image_url='', style='', quality='high', voice_id='', reference_audio_url='', voice_style='')[source]#
Create a Character with a canonical face (and optional voice).
If
image_urlis given, we skip face generation and use that image directly. Otherwise we run text-to-image with the description (+ optionalstylesuffix), cache the result, and use the URL.- Return type:
- falaw.operations.preproduction.cast_voice(character, *, voice_id='', reference_audio_url='', style_notes='', model_id='')[source]#
Attach or update the Voice on a Character.
- Return type: