Your API will be available under https://run.notanapi.com/v1/
Define a key to restrict access to your API. Include the API key as a query parameter in your API requests. For example: https://run.notanapi.com/v1/?apiKey=BBouCkDF-pLeave it emtpy to make your API public.
Enter your Open AI key, it will only be used by your API. Your can find information on how to create a key here.
The AI model that will be used for your requests. You can find more information here. Use gpt-4-turbo or gpt-4o if you want to use image prompts.
Your system prompt will most likely be the same for all requests and defines what the API does. We recommend defining the structure of the JSON response in the system prompt.
There are two different types of tokens which can be used in system and user prompt:Tokens replaced by query parameters:Use ${name} in your prompt to replace it with a query parameter called "name" Tokens replaced by external URI contentFor example ${uri(json):https://www.example.com} will be replaced with the JSON result of "https://www.example.com"