Docs/Image Generation

User Guide · 2.4.1 Release

Text-to-image, image-to-image, gallery

Canvas, inspiration, references, 4K, and favorites

Read Markdown
On this page

Before you start#

First configure a model with image generation capability under Settings → Models & usage → Default Models → Image Generation. You can also confirm that the Image Generation capability is enabled on the model's edit page under your provider.

Canvas-first workspace#

Starting in version 1.7.0, the Image Generation workspace puts generated results front and center as the main canvas, while prompts, reference images, model selection, and generation parameters sit in the bottom dock. When there are no results yet, a clean two-column inspiration gallery is shown—tap an example to quickly start with that creative direction. Inspiration items are maintained server-side and update automatically; when offline, built-in presets remain available so your workflow is uninterrupted.

Generation modes & parameters#

  • Text-to-image: Enter a text description to generate images directly.
  • Image-to-image: Add one or more reference images from your Gallery or files, then describe what you want to preserve or change.
  • Prompt tools & Image Prompt Assistant: Use the Image Prompt Assistant with a text model of your choice to generate or refine English prompt tags and insert them back with one tap. You can also optimize prompts with a model: when reference images are attached or you are iterating on an edit, the images are automatically sent to the vision-capable default chat model for visual reference (if the default model does not support vision, Cube automatically borrows an enabled Vision/OCR model; if no vision model is available, it safely falls back to text-only optimization). You can also open the fullscreen editor for long prompts, storyboards, or complex style instructions.
  • Generation parameters: Choose aspect ratio, image count, quality, output format, and resolution based on the active model's capabilities; some models support 1K / 2K / 4K—higher resolutions generally take longer.

Are generation settings preserved?#

Image count, aspect ratio, resolution, custom size, quality, output format, compression, moderation options, and recipe parameters are saved when changed and restored after restarting the app. Actually available items depend on the active model; custom sizes and recipe parameters are validated against their provider/model, so switching models will not force an old model's configuration onto the new one.

This restoration only applies to generation settings—it does not mean prompts, reference images, or running tasks will be restored. Unfinished tasks continue to be managed according to their status in Task Center.

Generation stream & Task Center#

  • The results area groups outputs by task into a generation stream: each task gets its own card so outputs from multiple tasks never overwrite each other. Failed cards keep the failure reason and support inline retry; succeeded cards offer Generate again (cloning and enqueueing the task with a snapshot of the original parameters).
  • Tasks per submission (Pro): In the generation settings panel, choose to submit 1–4 independent tasks with identical parameters at once. This is separate from the image count within a single request; tasks beyond the simultaneous execution limit are queued, and each task is billed separately by your provider.
  • Task Center opens from the title bar menu (with a badge while tasks are running): In progress lets you cancel a task, move it to the front of the queue, or remove it; History groups records by date (succeeded / failed / cancelled / interrupted), showing a thumbnail of the first output on each card—tap the card to preview, tap the circular button on the right to Generate again with the original parameters, or long-press to generate again, copy the prompt, or delete the record. Swipe left on a history row to delete, or use the top-right actions for multi-select batch deletion or one-tap history clearing (clearing removes only task history records—running tasks and generated images are unaffected). Up to the latest 500 records are kept, and clearing the gallery does not affect task records.
  • Pro users can queue new tasks while generating and run multiple image generations concurrently, with concurrency and queue limits adjustable in Task Center; HTTP 429 rate limits are automatically rescheduled without losing your prompt.

Auto-retry failed generation#

Go to Task Center → Task & concurrency settings and enable Auto-retry failed generation. This toggle is off by default; once enabled, you can set a retry limit (default 3 retries; 0 means unlimited retries, excluding the initial request). Network errors, timeouts, rate limits, service errors, or retryable task failures wait and try again with progressively longer intervals up to 60 seconds; authentication and invalid-parameter errors are not blindly retried.

When enabled, rate-limit errors also follow this retry limit; when disabled, the original rate-limit retry toggle still retries up to 2 times. Retrying tasks show "Waiting for auto-retry" and the retry count, and can be cancelled manually. Existing asynchronous tasks continue polling the original task on recoverable polling failures; resubmitting generation may incur additional charges. If a result is received successfully but local saving fails, the app will not automatically regenerate. Once the app process exits, unfinished tasks are marked as interrupted—continuous retries after exiting are not guaranteed.

Task cards and history display the completion time and duration of that attempt; auto-retry duration does not accumulate across all attempts. In General preferences, you can configure notifications for image generation success and failure separately. Prompts are cleared after successful submission while any new draft typed during submission is preserved; saved prompt presets can be deleted.

Results & Gallery#

Generated images can be saved, shared, edited again, or added to Favorites. The Gallery retains past generations; tap the top-right view button to switch to By task, showing one card per task (image left / text right for single images, grid for multiple images). In any view, tap Select in the top-right (or long-press an image) to enter multi-select mode and batch-save or batch-delete selected images. Tap the heart icon on a gallery card or fullscreen preview to revisit it anytime in Favorites.

You can enable Images under Settings → App Settings → General → Home tabs to add the workspace to home navigation. Disabling the home entry does not delete your generation history.

Three image generation paths#

  • In-chat image generation: Ideal for generating while chatting—enable Generate Image in chat Tools so the assistant invokes it on demand; shares the same image model as the workspace.
  • Image Generation workspace: Ideal for reference images, fine-grained parameters, prompt tools, and gallery management.
  • Web Workbench image generation (Pro): Ideal for batch generation in a browser panel, with configurable model, aspect ratio, and image count.

In-chat image generation and the native workspace share Default Models → Image Generation; the Web Workbench lets you select a model independently.