Skip to main content
POST /design/prompts/enhance rewrites a free-form prompt so it’s grounded in the brand profile of an existing completed full extraction. Unlike submissions, this call is synchronous: you get the rewritten prompt back in the response. Use it to steer downstream generation toward a specific brand’s look and feel.

Request

  • submission_id: a completed submission whose brand profile grounds the rewrite.
  • prompt: the free-form prompt to enhance.

Response

The response returns the enhanced_prompt along with the brand context used: brand_name, source_url, and model_used.
Create the referenced submission without sections. Selective submissions return 422 FULL_EXTRACTION_REQUIRED, even if they requested profile or were served from a full cached extraction. See Extract a brand for how to get there.