mlx-bun library API
    Preparing search index...
    • Expand each <|image|> placeholder id into boi + image*softCount + eoi, matching optiq's _build_image_inputs. Returns the spliced ids (the diffusion engine's encoder prefills the merged vision features at the contiguous image run).

      Parameters

      • ids: number[]
      • softCounts: number[]
      • tokenIds: { boi: number; eoi: number; image: number }

      Returns number[]