vmake-image-remove-watermark
Remove image text watermarks
Capability and preparation
Use image-remove-text to identify and remove text and text watermarks and repair the covered background. Proceed when the input and text-removal goal are clear; the service performs recognition and processing.
Use parameters supported by the current CLI; consult help or contracts for details. Requires vmake-labs-cli, targeting version 0.1.11, compatible with >=0.1.11 <0.2.0.
Before the first invocation, read CLI setup, resolve the executable, and check its version and tool image-remove-text --help. If JSON fields or media limits are unclear, query the relevant vmake contracts entry. For output parsing, service questions, or interrupted execution, read runtime and recovery.
Collect input
- Obtain one actual image file or URL from the request or attachments. Do not ask again when it is clear. If several candidates are ambiguous, ask the user to choose; process multiple inputs individually only when authorized, and keep a record for each.
- Use a real readable path for a local input. Download remote originals according to CLI setup, then submit the local file. If only a media ID is available, query its session for the real URL first. If downloading fails, ask for the original local file.
- Add
-r '<session_id>'to continue a task; omit it for a new one. Follow CLI setup for defaults, authentication, and missing information. Consult current help for optional parameters and omit unspecified values. - Keep the original source, local path, and session for recovery. When the user supplies a downloaded file, continue the established goal. Do not treat failed output as a source.
Upload and submit
Use the resolved executable with the prepared local file as an individual argument: