Skip to main content
Send settings in the parameterPatch of sendChatMessage or answerChatRun. A form selection takes precedence over conflicting text in the same turn. Read the current workflow schema for the choices available with your selected assets.

Answering a creative preference

During WAITING_INPUT, an assistant message can contain a QUESTION block for one creative preference. Its data contains runId, interruptId, baseVersion and question. The message text carries the localized question prompt. Read the allowed choices and selection limits from question and submit the option IDs with answerChatRun. Use the identifiers from that question’s message and a fresh clientRequestId for each answer. Clients that render preference questions as standalone messages can request data(standaloneQuestions: true) on both reads. The assistant’s preference message carries its text and the current QUESTION block. Render the question once and submit its answer before showing the next question or the quoted setup.
For a MESSAGE event, the blocks are in event.data.data. Omitting the argument or setting it to false includes the companion DRAFT.data.draft.questions for older clients. Historical messages that contain only a DRAFT and quoted setup cards keep their original block format. A run snapshot can restore the current question if its message is outside the loaded page. Use the snapshot as a fallback for that same question. Asking for the current settings keeps its interrupt and version valid.
On a text turn, omitting questionAnswers or sending questionAnswers: [] leaves the preference open. To answer the video consistency question (preserve) with no preference, send its questionId with selectedOptionIds: []. Chat asks for missing required inputs and checks any previously reported validation errors before showing a queued preference. For example, if the video duration is invalid, editing the description keeps the duration error visible until you correct it. Once the inputs are valid, each remaining question gets its own message. After the last answer, Chat returns the quoted draft for explicit generation confirmation.

Image settings

The same quality and resolution values apply to create_image, edit_image and clone_image. Resolution selects the long edge in pixels. Width and height select the aspect ratio. New image drafts default to Ultra 2K for free accounts and UltraS 2K for paid accounts. Generation defaults to two images. Edit and clone produce one image each and preserve the source aspect ratio by default. This fragment requests two Fast images with a 2048-pixel long edge.
To change just the size on the next turn, send {"resolution":"1k"} in the patch. An explicitly unsupported request, such as Fast at 4K or Fast with one image, returns a field to correct. Each operation has its own per-image price. Review the updated quote and confirm the plan version and quote ID before submission.

UltraS Fast video

Use quality=ultraSFast for these workflows. Video resolution uses the following wire values. Legacy inbound workflow ID aliases (generate_image, text_to_video, image_to_video, edit_everything, and generate_audio) remain accepted and normalize to their canonical IDs. For a 2K video, send resolution=QHD. Duration and source media also affect the available settings and final quote. Clone Video and ReEverything inherit the source duration.