Why does changing SDXL target_size or original_size not resize the generated canvas like height and width?
This is an external Diffusers SDXL control contract, not an AISwapLab request field. The official API describes the micro-conditioning inputs, and the official implementation separately builds the latent shape from height and width while assembling size and crop values as additional conditioning. That source reading supports a distinction between computation inputs; it is not an executed image experiment. No pipeline, tensor generation, resize operation, model inference or paid call was run for this guide.
What to do next
- 01
Write actual output dimensions separately from conditioning context
Record the required delivered pixel width and height, then identify which pipeline fields set that canvas in the installed implementation. In a different section of the run record, list any deliberate original-size, target-size and crop-conditioning values. Retain the model and version because similarly named parameters elsewhere may have other meanings. Do not insert an arbitrary small original_size merely to lower memory use; the actual generated dimensions remain a separate workload decision. If the request concerns resizing an existing accepted image, choose an explicit appropriate transformation rather than silently switching to a newly conditioned generation.
- 02
Inspect tuple order and defaults before changing the context
Consult the actual SDXL API definitions for the size tuples and their defaults, keeping height-width ordering distinct from a filename or another tool’s width-height convention. Check whether original_size and target_size default to the current canvas settings when omitted. For a conditioning comparison, hold the actual canvas and other relevant inputs stable while changing only the stated context. Treat crop coordinates as a generative conditioning hint, not proof that an existing source rectangle was physically removed or that a subject has been placed at exact measured coordinates.
- 03
Verify file dimensions and composition as different outcomes
Inspect the actual completed image’s pixel dimensions through a suitable file inspector, then separately review its apparent crop, framing and detail treatment. A correct-size file can still violate the intended composition, while a useful composition can have the wrong delivered dimensions if the canvas fields were misconfigured. Record both observations instead of diagnosing the result from one parameter name. Retain the exact run configuration and accepted artifact. Micro-conditioning does not certify recovered source resolution, factual geometry or a universal aesthetic improvement at a particular value.
A concrete example
Proposed, unexecuted case: a creator wants a vertical illustration but changes only a target-size conditioning tuple while leaving the actual generation canvas configuration unchanged. The review plan checks those field groups separately and inspects the delivered dimensions before judging framing. A second comparison could vary conditioning on a deliberately fixed canvas, but it would be labeled a new generative experiment rather than a resize. No resulting image or conditioning effect was measured here.
Generative edit decision record
| Decision | Evidence | Reject when |
|---|---|---|
| Canvas | Actual height and width | target_size name assumed to resize output |
| Condition | Original, target and crop context | Hint treated as physical crop operation |
| Evidence | File inspector plus composition review | Plausible framing called verified dimensions |
Before you call it ready
- Actual canvas dimensions and micro-conditioning values occupy separate run-record fields.
- Tuple order, defaults and crop-hint meaning are checked against the installed API.
- File pixel dimensions and apparent framing are inspected independently.
When to stop or choose another method
Stop if physical canvas fields, tuple ordering or the installed pipeline’s conditioning semantics are unclear. Preserve the accepted file directly and download AISwapLab media before its displayed 24-hour availability ends.
