Prompts

Create prompt

Create a new prompt in the library. The prompt is assigned a content-addressed SHA-1 hash as its identifier. Optionally include model configuration, template variables, tags, and category.

post/api/v1/prompts

Request

  • Base URL: https://numonic.ai
  • URL: https://numonic.ai/api/v1/prompts
  • Auth: API key in header x-api-key

Request body

prompt_textstring required

The prompt text content

namestring

Human-readable display name

descriptionstring
target_modelstring

Target AI model (e.g., midjourney, stable-diffusion)

categorystring
tagsstring[]
model_configobject

Model-specific parameters (e.g., --ar, --stylize for Midjourney)

variables_schemaobject

Template variable definitions for parameterised prompts

Response

Prompt created successfully

Changes

No recorded changes to this operation across all 1 revision of this API.