API reference · version 1.0.0Fusio · public API
Loading the address list…
Addresses in this part
A short list of addresses. Click an address and we show it to you above.
- get/v1/ai/action-pricesList AI pricesReturns what each AI action costs your company in credits, and how many credits you have. The prices already hold the margin of your company.
- get/v1/ai/credit-estimateGuess the cost of AI workTells you before you start how many credits a kind of AI work costs. Send the result as maxCredits with the real request.
- get/v1/ai/image-modelsList AI image modelsReturns the AI models that can draw pictures for you, with the price of one picture.
- get/v1/ai/generation-runs/{aiGenerationRun}Show an AI jobShows how an AI job goes. Ask again every few seconds until status is completed, failed or partial.
- post/v1/ai/entity-generation/social/{platform}/clarifyAsk AI about a social postAsks AI if it knows enough to write the social post. AI reads what you want and what it knows about your company.
- post/v1/ai/entity-generation/social/{platform}/generateLet AI write a social postStarts AI writing the social post in the background. The answer is the number of the job right away; ask ai.generation-runs.show with it until status is completed, then entityId is the new social post.
- post/v1/ai/entity-generation/article/clarifyAsk AI about an articleAsks AI if it knows enough to write the article. AI reads what you want and what it knows about your company.
- post/v1/ai/entity-generation/article/generateLet AI write an articleStarts AI writing the article in the background. The answer is the number of the job right away; ask ai.generation-runs.show with it until status is completed, then entityId is the new article.
- post/v1/ai/entity-generation/email/clarifyAsk AI about an emailAsks AI if it knows enough to write the email. AI reads what you want and what it knows about your company.
- post/v1/ai/entity-generation/email/generateLet AI write an emailStarts AI writing the email in the background. The answer is the number of the job right away; ask ai.generation-runs.show with it until status is completed, then entityId is the new email.
- post/v1/ai-image-generationsDraw images with AIAI draws pictures in the background. The answer is 201 with the work; watch its status and progress. The price counts every picture.
- get/v1/ai-image-generations/{generation}Show an AI image generationAsk again until the status is completed.
- post/v1/ai-image-generations/{generation}/selectPick one picture of an AI image generationThe generation must be completed. When it was made for an article, social post or email, the picked picture is attached to it. The answer is the saved file.