{"uid":"cap_rXcWiyAAtOgo-pWoc1ZAb","slug":"delx-commerce-image-prompt-linter-535d0107","name":"Delx Commerce Image Prompt Linter","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/image-prompt-lint?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prompt":{"type":"string","description":"Input field: prompt."},"max_chars":{"type":"integer","description":"Input field: max chars."}}},"responseSchema":{"type":"json","example":{"ok":true,"chars":53,"words":8,"issues":[],"schema":"delx/util-image-prompt-lint/v1","max_chars":1200,"within_limit":true,"blocked_tokens":[],"recommend_trim":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yFxyAldBIZ0eHcz3PZa7z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and lints an image generation prompt for character count, word count, blocked tokens, and length compliance against a configurable character limit.","exampleAgentPrompt":"Can you lint this image prompt and make sure it's clean and under 1200 characters? The prompt is: 'a cinematic wide-angle shot of a futuristic city at dusk, neon lights reflecting on wet pavement, ultra-detailed, 8k resolution, dramatic volumetric lighting'","exampleUseCases":[{"title":"Pre-flight check before image generation","prompt":"Before I send this prompt to the image generator, can you check it for any blocked tokens or issues and confirm it's within the 1200 character limit? Here's the prompt: 'ethereal forest goddess surrounded by glowing butterflies, bioluminescent flora, mist, photorealistic, trending on ArtStation'"},{"title":"Agent pipeline prompt quality gate","prompt":"I'm building an automated image pipeline — before each prompt goes to the model, validate it against a 800 character max and flag any blocked tokens or issues so I can fix them first."},{"title":"Debugging a rejected image prompt","prompt":"My image prompt keeps getting rejected and I'm not sure why — can you lint it and tell me if there are blocked words or if it exceeds the character limit? The prompt is: 'hyper-realistic portrait of an elderly sailor, weathered face, stormy sea background, dramatic lighting, canon 5d, f/1.8'"}],"resultDescription":"Returns a JSON object with: a boolean ok status, total character count (chars), word count (words), a list of detected issues, the schema identifier, the configured max_chars limit, a within_limit boolean, a list of blocked_tokens found in the prompt, and a recommend_trim boolean indicating whether the prompt should be shortened.","failureModes":["Missing prompt field returns validation error","Prompt exceeding maximum character limit sets within_limit to false and recommend_trim to true","Blocked tokens detected populate the blocked_tokens array and may set ok to false","Non-integer max_chars value causes input schema error","Empty prompt string may return zero counts with no issues"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap, pre-generation quality gate on image prompts — especially in automated pipelines where you want to catch oversized or policy-violating prompts before sending them to an expensive image model. Prefer this over manual string length checks when you also need blocked-token detection and structured issue reporting in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:38.930Z","isFirstParty":false,"canonicalSlug":"delx-commerce-image-prompt-linter-535d0107"}