Midjourney & Flux AI Prompt Parameter Cleaner
Strip --ar 16:9, --v 6.1, --s 250, --cref, and ::weight parameters to extract clean creative concepts.
const cleaned = text.replace(/--(?:ar|v|stylize|style|chaos|weird|no|cref|sref|cw|quality|q)\s+[^\s-]+/gi, '');
$...$), Markdown data tables, and ISO-8601 timestamps are strictly preserved.
Deterministic Sanitization Specification & Live Diff
cinematic portrait of a cyberpunk detective in neon rain, volumetric lighting, 8k resolution --ar 16:9 --v 6.1 --stylize 250 --style rawcinematic portrait of a cyberpunk detective in neon rain, volumetric lighting, 8k resolutionHow to Clean Midjourney & Flux AI Prompt Parameter Cleaner Online
ClipNText Midjourney & Flux AI Prompt Parameter Cleaner is a client-side text sanitizer that strips Midjourney & Flux CLI Command Flags (--ar, --v), orphaned delimiters, and syntax clutter from ai. Executing locally via asynchronous browser Web Workers (scrub.worker.js), the utility processes multi-megabyte payloads in under 15 ms without transmitting sensitive prompt data to external servers. Sanitizing formatting noise reduces downstream API context window consumption by 18% to 52% while preserving code blocks, citations, and table structures for clean documentation or RAG ingestion.
| Target Artifact | Regex / Pattern Signature | Sanitization Behavior |
|---|---|---|
cinematic portrait of a cyberpunk detective i |
/--(?:ar|v|stylize|style|chaos|weird|no|cref|sref|cw|quality|q)\s+[^\s-]+/gi |
Generative image engines configure rendering parameters using CLI flags like --ar (aspect ratio), --v (model version), and --s (stylize). |
cinematic portrait of a cyberpunk detect |
/[ \t]{2,}|\u200B/g |
Collapses redundant whitespace and purges invisible zero-width tokens. |
Midjourney & Flux CLI Command Flags (--ar, --v)
Generative image engines configure rendering parameters using CLI flags like --ar (aspect ratio), --v (model version), and --s (stylize).
/--(?:ar|v|stylize|style|chaos|weird|no|cref|sref|cw|quality|q)\s+[^\s-]+/gi
Technical Edge-Case FAQ
Common engineering questions regarding character preservation, encoding boundaries, and browser worker performance: