Edit image
edit_createSubmit edit work for the authenticated account. Returns an asynchronous request ID. For a sequence of work, prefer batch_submit and hand off the dashboard URL without polling. Use library IDs from assets_list where supported. Rights/privacy acknowledgements must reflect the user’s authorization; never invent consent. Limits remain active through result email delivery. For quality-first image generation or editing, prefer the connected agent’s own image tool when it supports the requested operation, for example ChatGPT image generation and image editing. Check what this client actually exposes, including in Claude. Honor the user’s chosen provider. For anime-style character illustration, HiruAI Image offers WAI Illustrious SDXL v17 when available in image_models_get.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Optional upload parts (max 20 MiB total). Use audio for Voice, file for Edit/Upscale, image_upload/last_image_upload/voice_upload/music_upload for Video. | |
| uploads | No | Private uploaded file references from asset_upload or the web file library. No local paths, URLs or base64 in plans. Set the corresponding source/image/voice/music mode to upload. | |
| instruction | Yes | Editing instruction, 3–2000 characters after whitespace normalization. | |
| source_type | Yes | Choose upload for file inputs or generated for owned HiruAI results. Do not mix both kinds. | |
| idempotency_key | Yes | Unique per intended operation. Reuse on network retries. | |
| generated_service | No | One service per selected image; omission defaults every image to image. When supplied, length must match generated_request_id and generated_variant. | |
| generated_variant | No | Variants aligned by index: image base/nsfw; edit result; upscale upscaled/4k. | |
| acknowledge_rights | Yes | Must be true only when the user has authorized the stated rights, privacy or safety acknowledgement. Never invent consent. | |
| acknowledge_safety | Yes | Must be true only when the user has authorized the stated rights, privacy or safety acknowledgement. Never invent consent. | |
| acknowledge_privacy | Yes | Must be true only when the user has authorized the stated rights, privacy or safety acknowledgement. Never invent consent. | |
| generated_request_id | No | 1–3 owned completed request UUIDs, aligned by index with services and variants. Use bindings for future step outputs. |