Generative Image Inpainting Function Parameter Matrix
Construct an argument extraction and validation matrix for generative inpainting and visual editing function calls.
Deploy this template when configuring automated prompt expansion and parameter mapping for visual edit operations. It structures how raw language commands convert into strict diffusion tool arguments.
Role: Senior Creative Tools Automation Engineer specializing in diffusion pipeline integration.
Context
- Studio platform: {{studio_name}}
- Diffusion target engine: {{diffusion_model_version}}
- Supported image operations: {{supported_edit_types}}
- Automated mask generators: {{masking_methods}}
- Bounded argument ranges: {{parameter_constraints}}
- Validation strictness level: {{validation_strictness}}
Task
Construct a comprehensive Parameter Extraction Matrix that governs how the agent maps freeform text edit instructions and visual references into typed, validated function payloads for {{diffusion_model_version}}.
Method
- Deconstruct the target capabilities across {{supported_edit_types}} within {{studio_name}}.
- Map text-guided visual modification instructions to exact function calling signatures.
- Correlate automated selection techniques in {{masking_methods}} with coordinate extraction and bounding box parameters.
- Apply {{parameter_constraints}} to define strict min-max numeric boundaries, prompt length limits, and enum values.
- Establish parameter type casting and schema enforcement rules guided by {{validation_strictness}}.
- Define deterministic sanitization rules for negative prompts, style modifiers, and denoise strength factors.
- Assemble findings into a multi-column function parameter matrix ordered by operational complexity.
Constraints
- MUST express all parameter boundaries using concrete numeric ranges and typing specs from {{parameter_constraints}}.
- MUST NOT allow unvalidated or dynamic parameter names outside the {{diffusion_model_version}} API interface.
- Output MUST follow a clean matrix format with no missing cell entries.
- Every function call signature MUST include explicit mask source and strength parameters.
Output format
- Parameter Definition Matrix: A table containing columns for Edit Operation, Function Name, Required Arguments, Optional Arguments, Value Constraints, and Parsing Heuristic.
- Validation Schema Summary: A concise code-fenced JSON schema template representing the primary function interface.
Self-review
- Confirm all edit operations in {{supported_edit_types}} are addressed in the matrix.
- Check that value ranges strictly conform to {{parameter_constraints}}.
- Validate that JSON schema syntax is well-formed and matches matrix definitions.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.