Keep the Product in Frame: Multi-Format Composition with the Kling 4.0 API
wide product photograph can look finished until someone asks for a vertical version. The cap touches the top edge, the label becomes too small, or a centered crop removes the part the customer needs to recognize. Another generation request will not fix a composition decision that nobody has made.
For a Kling 4.0 API project, prepare each useful frame before choosing the motion. API means application programming interface: the connection through which software sends a request to a service. An aspect-ratio option tells the service the shape of the output. It does not decide which product detail your layout must protect.
This guide uses a fictional lavender bottle to explain the choices. The illustrations are AI-created planning images, not photographs of a real product or results of a paid video-generation test. The bottle has a blank label because actual sales copy belongs in a separate, controlled editing layer.
List the placements before making variants
Write down where the clip will appear. A landscape section on a product page, a portrait social post and a square catalog tile are three placements, not automatically three necessary generations.
For each placement, identify the product feature that must stay visible and whether text or controls occupy part of the frame. Use the real publishing preview when you have it. There is no single safe margin that applies to every website, feed and player.
A small brief might say:
- Landscape product page: the whole bottle and its base must remain visible; a short headline sits beside the video in the page layout.
- Portrait post: the cap and label area need breathing room; sales text is added later, away from the product.
- Square tile: the silhouette must remain recognizable at a small display size; animation is optional.
If a static tile already does its job, keep it static. A list of supported formats is not an instruction to create every variant.
Put a real crop guide over the source
Before sending the image, open it in your editor and overlay the intended frame. Check the cap, sides and contact with the surface. Move the crop deliberately; do not assume the center is the best place.
The geometry can be more severe than expected. Consider a hypothetical landscape source measuring 2400 by 1350 pixels. A 9:16 crop using the full height is only about 759 pixels wide: 1350 × 9 ÷ 16. A centered crop therefore keeps a narrow strip around the middle, not most of the original width.
If the product occupies a region wider than that strip, a crop cannot preserve all of it at that scale. Move or scale the product in a new source composition, choose a different source photograph, or change the surrounding layout. Generating motion from the same crowded source is a different operation.
Keep a version for each approved composition. Names such as bottle-landscape-v1 and bottle-portrait-v1 help collaborators distinguish a layout change from a motion change. They are local project names, not API parameters.
Recompose when a crop stops helping
A portrait source may need more space above the cap or a simpler background. If you can photograph the product again, compose for that placement. If you edit the existing photograph, preserve the real product details and mark any invented background clearly in the project notes.
Adding empty space around a product can make a layout usable, but generated pixels are not proof of what the actual packaging, material or label looks like. Compare the edited source to the approved product photograph before using it in commercial material.
Keep important words outside the generation request. Prices, ingredients, dimensions and promotional conditions need exact spelling and an accountable source. Add them as editable text in your design or video editor. A request to keep a label intact is not a substitute for checking the returned clip.
Match the request to the approved frame
The current documentation for the Flaq AI Kling 4.0 image-to-video API lists 16:9, 9:16, 1:1 and 21:9 as supported aspect ratios for image-to-video requests. It also lists 720p and 1080p resolutions. Use the current documented fields when connecting the selected source to a request, rather than treating the output ratio as an automatic repair for a mismatched source.
For the fictional bottle, the landscape version could use a restrained light change while the bottle stays still. A portrait composition might benefit from the same simple motion, but it still needs its own framing review. Do not add a large camera orbit merely to make the versions look different; it can introduce views of packaging that the source does not establish.
A plain-language motion brief could read:
A soft band of light moves slowly across the bottle. Keep the camera fixed and the bottle resting on the pedestal. Preserve the cap, body and base within the frame.
Keep the exact prompt with the selected source version and output settings. If you change both the source crop and the motion, record both changes. Otherwise, a later comparison cannot tell which decision helped.
Budget for a choice, not an unlimited set
Pay as you go lets you connect generation spending to the requests you choose. It does not turn a new format or a revised source into a free export. Start with the placements you actually need and reserve room for a candidate you may reject.
Generating a higher-resolution version is also not the same as enlarging an accepted file in an editor. A new generation can differ in its details and movement. Decide whether the task needs a fresh generation or a permitted editing step, then assess that result on its own.
“Unlimited variations” is a poor production brief. A useful limit is concrete: the required placements, the accepted sources, the person who reviews them and the point at which you stop to change the composition. This is a team decision, not a claim about a provider quota.
Inspect the clip at the real viewing size
Watch the full result, including the final moment. A product that fits the first frame can still drift against an edge later. Check the cap and base, then the silhouette, label area and contact with the surface.
Next, put the clip into the actual page or post preview with its intended text. Look at it at the size the viewer will see. A detail that is clear on an editing monitor may be too small in a catalog tile. A large headline can hide the product even when the video itself has a good crop.
If the product is cut off, return to the composition. If exact label information changes, use a more suitable presentation or source rather than publishing an inaccurate product claim. If the motion competes with the message, simplify it or keep the static image.
The deliverable is not a folder containing every possible aspect ratio. It is a small set of placements in which the correct product remains visible, the text stays editable and each version has a reason to exist.
Disclosure: This guide is published by the Flaq AI team and includes our own service.
Did you enjoy this article?
Recommend it — Standard Reader surfaces well-loved writing to more readers across the network.