Genace

object count image prompts: Turn quantity into a visible inventory

Reliable object count image prompts need a visible inventory and a clear review rule. A sentence requesting three objects is an instruction, not evidence that the resulting image contains exactly three. Plan the arrangement so a human can count the required items without guessing through overlaps.

Write the inventory before the style

List each required object and any distinguishing feature. For a fictional desk scene, the inventory could be one blue notebook, one yellow pencil, and one white cup. Decide whether shadows, reflections, printed illustrations, or background objects count toward the visual requirement.

If the brief requires several copies of the same item, identify their intended arrangement. A row with visible separation is easier to inspect than a dense pile. This is a workflow choice for clarity, not a guarantee of model compliance.

Avoid adding decorative objects casually after freezing the inventory. A phrase such as a busy creative workspace can conflict with an exact-count requirement by encouraging additional visible items.

Draft a constrained prompt

A proposed prompt is: An overhead desk image showing exactly one closed blue notebook on the left, one yellow pencil in the center, and one plain white cup on the right, with clear gaps between them, a simple neutral surface, and no additional desk objects.

The wording is an experiment candidate. It does not establish counting accuracy for nano-banana, flux-pro, ideogram-v3, or any other model. Keep the exact approved prompt in the application record.

Image count n is a different concept. It controls how many output images are requested under the provider schema, not how many objects appear inside each image. Do not set n to three expecting a single scene with three subjects.

Review every candidate independently

Count visible objects at the intended display size, then inspect ambiguous overlaps. Watch for duplicated fragments, an extra handle that suggests another cup, or a pencil that merges into the notebook edge.

Record whether a reflection creates a misleading duplicate. The answer depends on the brief: a stylized reflected scene may be acceptable for decoration but unsuitable for a literal counting illustration.

If an object is mostly hidden, mark the count uncertain rather than assuming the requested inventory exists behind the occlusion. A visually countable scene should not require the reviewer to trust the prompt.

Decide how to repair a failure

For exact instructional diagrams or commercial bundles, deterministic assembly from approved individual assets may be more appropriate than repeated whole-scene generation. If you regenerate, treat it as another approved sample with its own job and cost.

Accept the asset when the observed inventory matches the requirement and no ambiguous extra forms undermine the count. Continue with human rubrics, perspective prompts, and prompt test set design to keep quantity checks explicit.

Continue with quality and testing

Where these facts come from

  • codebase: src/app/api/v1/images/generations/route.ts
  • codebase: src/app/api/v1/video/generations/route.ts
  • codebase: src/ai/providers/nano-banana.ts
  • codebase: src/ai/providers/seedance.ts
  • codebase: src/ai/providers/kling.ts
  • codebase: src/ai/providers/veo3.ts
  • codebase: src/ai/providers/types.ts
  • Proposed prompt and human review method; no model runs or quality results reported
  • Editorial keyword hypothesis; search volume not measured