import type { VeniceClient } from "./client.js"; import type { ImageGenerateRequest, ImageGenerateResponse, GenerateWithReferencesOptions, GenerateWithReferencesResult } from "./types.js"; /** * Generate a single image from a text prompt. * * This is a straightforward 1:1 mapping to the Venice `/api/v1/image/generate` * endpoint. All request fields are forwarded as-is; only `model`, `resolution`, * and `aspect_ratio` receive defaults when omitted. * * @param client An authenticated {@link VeniceClient} instance. * @param options Request parameters. At minimum `prompt` is required. * @returns The full API response including the `images` array. */ export declare function generateImage(client: VeniceClient, options: Partial & { prompt: string; }): Promise; /** * @deprecated **This function CANNOT deliver image-conditioned generation and * never could.** The Venice `/image/generate` endpoint has no reference-image * input (its only image conditioning is `style_references`, aesthetic-only, * on krea/luma models). The `referenceImages` bytes passed here are DROPPED — * only a text line ("Image 1: face reference for X") reaches the model, which * then draws the character from prompt text alone. This was the root cause of * storyboard character drift (verified 2026-08-11): the original doc comment * claimed the refs were sent in an `image` field, but no such field was ever * assigned and no such multi-reference field exists in the API contract. * * For real reference-conditioned drafting use `draftPanelWithReferences` * (src/venice/reference-draft.ts), which routes through `/image/multi-edit` — * the only image endpoint that accepts reference bytes (base + 2 layers). * * Retained only for the legacy `storyboard/assembler.ts` lane. Emits a * runtime warning on every call. * * @param client An authenticated {@link VeniceClient} instance. * @param options Generation parameters plus reference images (NOT SENT). * @returns The generated image as base-64 and the seed used. */ export declare function generateWithReferences(client: VeniceClient, options: GenerateWithReferencesOptions): Promise; //# sourceMappingURL=generate.d.ts.map