logo STATICALIZA
Home Projects Socials API
Daily Credits Usage 0 / 1000 used

Resets at --:-- --

INFRASTRUCTURE

Browse Stativerse AI model endpoints by infrastructure.

V1

Shared endpoints running on slower, shared hosted models.

ENDPOINTS

Authorization is required on every request. Use your Stativerse API key in the Authorization: Bearer <key> header. You can create an API key in your account settings. Click any endpoint path to copy the full endpoint shape.

Select a model card to view its endpoint configuration.

POST /models/v1/text-generation >

Payload

input string | [...] Non-empty completion text or a chat message array. >
[...] {...} A message in conversation order. >
role string Message role: system, user, or assistant.
content string Message text or assistant answer prefill; optional with assistant reasoning.
reasoning_content string | null Assistant reasoning history or prefill; reasoning-only prefill requires thinking.
max_tokens number Positive maximum output tokens. Defaults to 512 and includes thinking tokens.
stream boolean Stream choices as events ending with [DONE]. Defaults to false.
thinking boolean Enable chat reasoning; it counts toward max_tokens. Defaults to false.
stop string | [...] Stop at a matching non-empty string. >
[...] string Stop string.
temperature number Sampling randomness. Must be non-negative; zero selects greedy decoding.
top_p number Cumulative probability cutoff from 0 to 1.
top_k number Non-negative maximum candidate count; 0 disables filtering.
min_p number Relative probability threshold from 0 to 1; 0 disables filtering.
seed number | null Non-negative safe integer seed; null or omission uses a random seed.
repetition_penalty number Positive penalty for repeated tokens.
repeat_last_n number History window; -1 uses all available history and 0 disables the window.
presence_penalty number Penalty for tokens already present.
frequency_penalty number Penalty based on token frequency.
logit_bias {} | [...] Token bias map or an array of token and bias pairs. >
[...] [...] A token and its bias. >
[0] number | string Token ID or text.
[1] number | boolean Bias value; false blocks the token.
grammar string Grammar constraint; thinking must be false. Do not combine with json_schema.
json_schema {} JSON schema constraint. Do not combine with grammar.
logprobs number | null Positive number of alternatives; null disables it.
dry {...} | null DRY repetition settings; null disables the overrides. >
multiplier number Penalty strength. Defaults to 0, which disables DRY.
base number Penalty growth for longer repetitions.
allowed_length number Repeated sequence length allowed without penalty.
penalty_last_n number Previous tokens checked for repeated sequences.
sequence_breakers [...] Non-empty list of strings that break a repeated sequence. >
[...] string Sequence breaker.
xtc {...} | null XTC sampling settings; null disables the overrides. >
probability number Chance of applying XTC. Defaults to 0.
threshold number Minimum probability for token removal.
mirostat {...} | null An object enables Mirostat 2.0; null disables it. Do not combine with greedy decoding or active top-k, top-p, min-p, or XTC filters. >
tau number Target entropy. Defaults to 5.0.
eta number Learning rate. Defaults to 0.1.

Response

ok boolean True on success; false on failure.
data {...} | null Generation result on success; null on failure. >
choices [...] Generated output choices. >
[...] {...} A generated choice. >
index number Choice index.
text string Generated text for a completion.
message {...} Generated message for chat input. >
role string Response role: assistant.
content string Generated message text.
reasoning_content string Reasoning text when thinking is enabled.
delta {...} Incremental chat fields in a stream. >
role string Response role when present.
content string A piece of the answer.
reasoning_content string A piece of reasoning when enabled.
finish_reason string | null Reason generation stopped.
logprobs {...} | null Token probabilities when requested. >
content [...] Generated tokens and their probabilities. >
[...] {...} A generated token. >
id number Token ID.
token string Token text.
bytes [...] UTF-8 token bytes. >
[...] number Byte value.
logprob number Token log probability.
top_logprobs [...] Alternative tokens and probabilities. >
[...] {...} An alternative token. >
id number Token ID.
token string Token text.
bytes [...] UTF-8 token bytes. >
[...] number Byte value.
logprob number Token log probability.
id string Response ID.
object string Response type.
created number Creation time as a Unix timestamp.
model string Serving model alias.
usage {...} Token usage for the request. >
prompt_tokens number Number of input tokens.
completion_tokens number Number of generated tokens.
total_tokens number Total input and output tokens.
prompt_tokens_details {...} Input token details. >
cached_tokens number Number of reused input tokens.
timings {...} Inference timing measurements. >
cache_n number Number of reused tokens.
prompt_n number Number of processed input tokens.
prompt_ms number Input processing time in milliseconds.
prompt_per_token_ms number Input processing time per token in milliseconds.
prompt_per_second number Input tokens processed per second.
predicted_n number Number of generated tokens.
predicted_ms number Generation time in milliseconds.
predicted_per_token_ms number Generation time per token in milliseconds.
predicted_per_second number Output tokens generated per second.
error {...} | null Error details on failure; null on success. >
code string Error code.
message string Error description.
POST /models/v1/image-generation >

Payload

prompt string Text prompt used to generate the image.
negative_prompt string Optional negative prompt for undesired elements.
resolution [...] Optional generation size. Defaults to [1024, 1024]. >
[0] number Width in pixels.
[1] number Height in pixels.
post_resolution [...] Optional final output size after crop or resize. Defaults to resolution. >
[0] number Width in pixels.
[1] number Height in pixels.
steps number Optional diffusion step count. Defaults to 8.
guidance number Optional true CFG guidance scale. Defaults to 1.
crop boolean If true, centers and crops to aspect ratio instead of resizing.
remove_background boolean If true, attempts to remove background and return RGBA format.
safety_check boolean Runs text and output image safety classifiers. Also enabled when safety_input is provided.
safety_input string Optional instruction prepended to the prompt before text safety classification.
output_format string Allowed values: "Base64 PNG", "Base64 JPEG", "Base64 JPEG Progressive", "RGBA 2D", "RGBA 1D". Defaults to "Base64 PNG".
seed number Optional random seed. Defaults to a generated seed.

Response

ok boolean True when the request succeeds. False when it fails.
data {...} Response payload when ok is true. >
id string Unique task generation id from the upstream model backend.
output string | number[] | number[][][] Encoded image data or RGBA array output based on output_format.
seed number Random seed used by generator in run.
generation_time number Server-side generation duration in seconds.
nsfw_input_classifier {...} | null Present when safety_check is enabled. >
output [...] Per-label prompt safety scores. >
[...] {...} Object shape for each scored label entry. >
label string Safety label name.
score number Score for the current label.
highest {...} Highest-scoring safety label object. >
label string Safety label name.
score number Highest returned score.
lowest {...} Lowest-scoring safety label object. >
label string Safety label name.
score number Lowest returned score.
nsfw_output_classifier string | null Visual safety label returned for the generated image when safety_check is enabled.
error {...} Null when ok is true. On failure includes public error details. >
code string Normalized public error code.
message string Detailed error mapping or helper error format.
POST /models/v1/image-edit >

Payload

prompt string Optional edit instructions. If omitted, the input image is returned after processing.
negative_prompt string Optional negative prompt for details you want the edit to avoid.
image base64 | [...] Required base64 image or image array. Data URI prefixes are accepted. >
[...] base64 Base64 image item.
resolution [...] Optional edit generation size. Omit to preserve input size. >
[0] number Width in pixels.
[1] number Height in pixels.
post_resolution [...] Optional final output size after crop or resize. Defaults to resolution or input size. >
[0] number Width in pixels.
[1] number Height in pixels.
steps number Optional diffusion step count. Defaults to 8.
guidance number Optional true CFG guidance scale. Defaults to 1.
crop boolean If true, centers and crops to aspect ratio instead of resizing.
remove_background boolean If true, attempts to remove background and return RGBA format.
safety_check boolean Runs text and output image safety classifiers. Also enabled when safety_input is provided.
safety_input string Optional instruction prepended to the prompt before text safety classification.
output_format string Allowed values: "Base64 PNG", "Base64 JPEG", "Base64 JPEG Progressive", "RGBA 2D", "RGBA 1D". Defaults to "Base64 PNG".
seed number Optional random seed. Defaults to a generated seed.

Response

ok boolean True when the request succeeds. False when it fails.
data {...} Response payload when ok is true. >
id string Unique task generation id from the upstream model backend.
output string | number[] | number[][][] Encoded image data or RGBA array output based on output_format.
seed number Random seed used by generator in run.
generation_time number Server-side generation duration in seconds.
nsfw_input_classifier {...} | null Present when safety_check is enabled. >
output [...] Per-label prompt safety scores. >
[...] {...} Object shape for each scored label entry. >
label string Safety label name.
score number Score for the current label.
highest {...} Highest-scoring safety label object. >
label string Safety label name.
score number Highest returned score.
lowest {...} Lowest-scoring safety label object. >
label string Safety label name.
score number Lowest returned score.
nsfw_output_classifier string | null Visual safety label returned for the edited image when safety_check is enabled.
error {...} Null when ok is true. On failure includes public error details. >
code string Normalized public error code.
message string Detailed error mapping or helper error format.
POST /models/v1/classification >

Payload

input string | [...] Required text or text array to classify. >
[...] string Batch input text item.
choices [...] Required labels array of categories to score against the input. >
[...] string Candidate classification label.
normalize boolean Use exp distribution probability array normalizations over absolute limits. Defaults to True.

Response

ok boolean True when the request succeeds. False when it fails.
data {...} Response payload when ok is true. >
id string Unique task generation id from the upstream model backend.
output [...] | [[...], ...] Sorted classification label scores. Batch input returns an array of result arrays. >
label string Candidate label value from choices.
score number Classification score for the current label.
highest {...} | [...] Highest-scoring item for a single input, or one highest item per batch entry. >
label string Highest-scoring classification label.
score number Highest classification score.
lowest {...} | [...] Lowest-scoring item for a single input, or one lowest item per batch entry. >
label string Lowest-scoring classification label.
score number Lowest classification score.
generation_time number Server-side execution duration in seconds.
error {...} Null when ok is true. On failure includes public error details. >
code string Normalized public error code.
message string Detailed error mapping or helper error format.
POST /models/v1/sentence >

Payload

input string | [...] Required source sentence, query, or string array to compare. >
[...] string Batch source text item.
choices [...] Required candidate sentence strings to score against the input. >
[...] string Candidate sentence string.
normalize boolean Use exp distribution probability array normalizations over absolute limits. Defaults to True.

Response

ok boolean True when the request succeeds. False when it fails.
data {...} Response payload when ok is true. >
id string Unique task generation id from the upstream model backend.
output [...] | [[...], ...] Sorted sentence-similarity scores. Batch input returns an array of result arrays. >
label string Candidate sentence value from choices.
score number Sentence-similarity score for the current choice.
highest {...} | [...] Highest-scoring item for a single input, or one highest item per batch entry. >
label string Highest-scoring candidate sentence.
score number Highest sentence-similarity score.
lowest {...} | [...] Lowest-scoring item for a single input, or one lowest item per batch entry. >
label string Lowest-scoring candidate sentence.
score number Lowest sentence-similarity score.
generation_time number Server-side execution duration in seconds.
error {...} Null when ok is true. On failure includes public error details. >
code string Normalized public error code.
message string Detailed error mapping or helper error format.
© Staticaliza