Generate images from the composer; the picture in its own safe composable
CI / check (push) Canceled after 0s
CI / check (push) Canceled after 0s
+ › Generate images (when /me services.images) marks the next message, shown as a chip under
the box; it is sent with force_tool image_generate (the server's only forceable tool) on
POST /chats/{id}/messages. The tool event's `image {id, width, height}` is drawn by
GeneratedPicture: fetched only by attachment id from GET /api/v2/attachments/{id} with the
token (no URL is ever followed), at most 24 MB, decoded to a 1600 px edge, its box sized by the
server's width/height before it loads; a tap shows it whole. Markwon stays image-free.
Chosen over /v1/images/generations (models scope, which sign-in already asks): the in-chat tool
keeps the picture in the chat as the web does. A NEW chat cannot force a tool yet (POST /chats
takes no force_tool), so the option shows in an existing chat only -- server follow-up.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
20 files changed
+258
-4
No files matched your search
@@ -75,6 +75,8 @@ STRINGS: dict[str, str] = {
|
||||
"attach_take_photo": "Take a photo",
|
||||
"attach_choose_photos": "Choose photos",
|
||||
"attach_choose_files": "Choose files",
|
||||
"image_generate": "Generate images",
|
||||
"image_generated": "The generated image",
|
||||
"copy_message": "Copy message",
|
||||
"copied": "Copied.",
|
||||
"rename_chat": "Rename chat",
|
||||
|
||||
Reference in new issue
Block a user