Image generation and editing
We are inviting early-access interest while we develop the platform.
- Generate
POST /v1/images/generations- Edit
POST /v1/images/edits
cURL
curl https://ai.hips.com/v1/images/generations \ -H "Authorization: Bearer $HIPS_API_KEY" \ -H "Content-Type: application/json" \ -d @- <<EOF{ "model": "$HIPS_MODEL", "prompt": "A red apple on a wooden table", "size": "1024x1024"}EOFPython
import osfrom openai import OpenAIclient = OpenAI( base_url="https://ai.hips.com/v1", api_key=os.environ["HIPS_API_KEY"],)image = client.images.generate( model=os.environ["HIPS_MODEL"], prompt="A red apple on a wooden table", size="1024x1024",)Make images from a prompt, or change your own image with an instruction, on the task API or OpenAI's image routes, billed per image at its size.
Two tasks. image_generation makes new images from a text prompt. image_edit changes one or more of your images as an instruction says, such as "make the t-shirt green". Both are synchronous: one request, and its answer carries the images inline in base64. Send them on the task API, POST /v1/tasks, or on OpenAI's image routes, POST /v1/images/generations and POST /v1/images/edits, designed to follow OpenAI's image API so its clients work with your HIPS key and base URL (Images). Each image is billed at a fixed price for its size, and every image carries a machine-readable mark that it was made with AI.
| Task | Inputs | What it does |
|---|---|---|
image_generation | A text prompt; optionally a negative prompt | New images from the prompt |
image_edit | One or more images and an instruction; a mask, on a model that inpaints | Your images changed as the instruction says |
image_generation- Inputs
- A text prompt; optionally a negative prompt
- What it does
- New images from the prompt
image_edit- Inputs
- One or more images and an instruction; a mask, on a model that inpaints
- What it does
- Your images changed as the instruction says
A route of an image task answers 400 type_not_served at model while no model of its type is served. The image models HIPS serves are listed in GET /v1/models, each with the task it serves, and on Models with the price per image at each size it is offered at.

Request format
On the task API the prompt is the task's one text input, not an option: not empty, at most 64 KiB, with no NUL character. A second text input is a 400 invalid_value. The options below are in options, and the request requirements in the hips object or the x-hips-* headers, as on every task (Tasks).
cURL
curl https://ai.hips.com/v1/tasks \
-H "Authorization: Bearer $HIPS_API_KEY" \
-H "Content-Type: application/json" \
-d "{\"model\":\"$HIPS_MODEL\",\"task\":\"image_generation\",\"inputs\":[{\"id\":\"p\",\"type\":\"text\",\"text\":\"A red apple on a wooden table, soft morning light\"}],\"options\":{\"width\":1024,\"height\":1024,\"count\":2}}"Python
import base64
import os
import requests
answer = requests.post(
"https://ai.hips.com/v1/tasks",
headers={"Authorization": f"Bearer {os.environ['HIPS_API_KEY']}"},
json={
"model": os.environ["HIPS_MODEL"],
"task": "image_generation",
"inputs": [{"id": "p", "type": "text", "text": "A red apple on a wooden table, soft morning light"}],
"options": {"width": 1024, "height": 1024, "count": 2},
},
timeout=300,
).json()
for result in answer["results"]:
if "data" in result:
with open(f"apple-{result['index']}.png", "wb") as f:
f.write(base64.b64decode(result["data"]))
else:
print(result["error"]["message"]) # an image the checks withheld
print("seed", answer["seed"])An edit adds the image to change as an image input:
Edit request
{
"model": "<catalog id>",
"task": "image_edit",
"inputs": [
{"id": "p", "type": "text", "text": "Make the t-shirt green"},
{"id": "photo", "type": "image", "data": "<base64 of a PNG, JPEG or WebP>"}
],
"options": {"output_format": "jpeg", "output_quality": 90, "seed": 42}
}Options
| Field | Status | Rule |
|---|---|---|
width, height | Optional | The size in pixels; absent, the model's own size. At least the model's smallest side and at most its largest, never above 8,192; each a multiple of 8 and of the model's own alignment; together at most the model's largest image in pixels, or 4,194,304 (2048 by 2048) where the model states none. The size sets the price (Usage unit). Out of bounds is a 400 invalid_value naming the bound. |
aspect_ratio, resolution | Optional, in place of width and height | The size by its shape: aspect_ratio one of 1:1, 1:2, 2:1, 1:3, 3:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 9:21, 21:9, or auto on an edit; resolution one of 1K, 1.5K, 2K. HIPS makes the size nearest it that the model allows (Size by aspect ratio). Sent beside width or height, a 400 invalid_value. |
count | Optional | The images to make, from 1 to the model's limit and never above 8; 1 when absent. |
steps | Optional | Sampling steps, from 1 to the model's limit and never above 200; the model's own when absent. Steps do not change the price: the model's limit bounds the work a price covers. |
seed | Optional | From 0 to 9,223,372,036,854,775,807. Absent, HIPS draws one, and the answer's seed says which. The images of a request are made with seed, seed + 1 and so on, as if in one run. A seed is no promise of the same pixels on another GPU. |
negative_prompt | Optional | What the image should not show. At most 64 KiB, with no NUL character. |
enhance_prompt | Optional | true has a language model rewrite the prompt before the image model runs (Enhance prompt); false or absent, the prompt runs as written. Another value is a 400 invalid_type. |
sampler | Optional | The model's own when absent. One of euler, euler_a, heun, dpm2, dpm++2s_a, dpm++2m, dpm++2mv2, ipndm, ipndm_v, lcm, ddim_trailing, tcd, res_multistep, res_2s, er_sde, euler_cfg_pp, euler_a_cfg_pp, euler_ge, dpm++2m_sde, dpm++2m_sde_bt, lms. |
scheduler | Optional | The model's own when absent. One of discrete, karras, exponential, ays, gits, sgm_uniform, simple, smoothstep, kl_optimal, lcm, bong_tangent, ltx2, logit_normal, flux2, flux, beta, llada_image. |
cfg_scale, guidance | Where the model takes them | The classifier-free guidance scale and the distilled guidance, from 0 to 100, the model's own when absent. On a model that does not take the setting, a 400 unsupported_parameter naming it. |
output_format | Optional | png when absent. PNG and WebP are lossless; a JPEG is encoded by HIPS from the GPU's lossless image. |
output_quality | JPEG only | A JPEG's quality from 1 to 100, 75 when absent. A PNG or a WebP takes 0 or nothing: any other value is a 400 unsupported_value. |
Any other option | Rejected, 400 unknown_parameter | Never ignored. |
width, height- Status
- Optional
- Rule
- The size in pixels; absent, the model's own size. At least the model's smallest side and at most its largest, never above 8,192; each a multiple of 8 and of the model's own alignment; together at most the model's largest image in pixels, or 4,194,304 (2048 by 2048) where the model states none. The size sets the price (Usage unit). Out of bounds is a 400
invalid_valuenaming the bound.
aspect_ratio, resolution- Status
- Optional, in place of
widthandheight - Rule
- The size by its shape:
aspect_ratioone of1:1,1:2,2:1,1:3,3:1,2:3,3:2,3:4,4:3,4:5,5:4,9:16,16:9,9:21,21:9, orautoon an edit;resolutionone of1K,1.5K,2K. HIPS makes the size nearest it that the model allows (Size by aspect ratio). Sent besidewidthorheight, a 400invalid_value.
count- Status
- Optional
- Rule
- The images to make, from 1 to the model's limit and never above 8; 1 when absent.
steps- Status
- Optional
- Rule
- Sampling steps, from 1 to the model's limit and never above 200; the model's own when absent. Steps do not change the price: the model's limit bounds the work a price covers.
seed- Status
- Optional
- Rule
- From 0 to 9,223,372,036,854,775,807. Absent, HIPS draws one, and the answer's
seedsays which. The images of a request are made withseed,seed + 1and so on, as if in one run. A seed is no promise of the same pixels on another GPU.
negative_prompt- Status
- Optional
- Rule
- What the image should not show. At most 64 KiB, with no NUL character.
enhance_prompt- Status
- Optional
- Rule
truehas a language model rewrite the prompt before the image model runs (Enhance prompt);falseor absent, the prompt runs as written. Another value is a 400invalid_type.
sampler- Status
- Optional
- Rule
- The model's own when absent. One of
euler,euler_a,heun,dpm2,dpm++2s_a,dpm++2m,dpm++2mv2,ipndm,ipndm_v,lcm,ddim_trailing,tcd,res_multistep,res_2s,er_sde,euler_cfg_pp,euler_a_cfg_pp,euler_ge,dpm++2m_sde,dpm++2m_sde_bt,lms.
scheduler- Status
- Optional
- Rule
- The model's own when absent. One of
discrete,karras,exponential,ays,gits,sgm_uniform,simple,smoothstep,kl_optimal,lcm,bong_tangent,ltx2,logit_normal,flux2,flux,beta,llada_image.
cfg_scale, guidance- Status
- Where the model takes them
- Rule
- The classifier-free guidance scale and the distilled guidance, from 0 to 100, the model's own when absent. On a model that does not take the setting, a 400
unsupported_parameternaming it.
output_format- Status
- Optional
- Rule
pngwhen absent. PNG and WebP are lossless; a JPEG is encoded by HIPS from the GPU's lossless image.
output_quality- Status
- JPEG only
- Rule
- A JPEG's quality from 1 to 100, 75 when absent. A PNG or a WebP takes 0 or nothing: any other value is a 400
unsupported_value.
Any other option- Status
- Rejected, 400
unknown_parameter - Rule
- Never ignored.
Size by aspect ratio
In place of width and height, a request may name its size by its shape: aspect_ratio and resolution, options on the task API and fields on OpenAI's image routes. A resolution is a number of pixels: 1K is 1,048,576 (1024 by 1024), 1.5K 2,359,296 (1536 by 1536) and 2K 4,194,304 (2048 by 2048). HIPS makes the size nearest that number of pixels at the ratio whose sides are each a multiple of 8 and of the model's own alignment, within the model's smallest and largest side and its largest image; of the sizes nearest, the one whose ratio is closest to the one asked. The answer's width and height (size on OpenAI's routes) say the size made, and the price is that size's.
| Asked | Made, on a model whose sides are multiples of 16 and whose largest image is 4,194,304 pixels |
|---|---|
1:1 at 1K | 1024 by 1024 |
16:9 at 1K | 1360 by 768 |
9:16 at 1K | 768 by 1360 |
3:2 at 1K | 1248 by 832 |
3:2 at 1.5K | 1872 by 1248 |
9:21 at 1K | 672 by 1568 |
21:9 at 2K | 3120 by 1344, the nearest within the largest image |
1:1at1K- Made, on a model whose sides are multiples of 16 and whose largest image is 4,194,304 pixels
- 1024 by 1024
16:9at1K- Made, on a model whose sides are multiples of 16 and whose largest image is 4,194,304 pixels
- 1360 by 768
9:16at1K- Made, on a model whose sides are multiples of 16 and whose largest image is 4,194,304 pixels
- 768 by 1360
3:2at1K- Made, on a model whose sides are multiples of 16 and whose largest image is 4,194,304 pixels
- 1248 by 832
3:2at1.5K- Made, on a model whose sides are multiples of 16 and whose largest image is 4,194,304 pixels
- 1872 by 1248
9:21at1K- Made, on a model whose sides are multiples of 16 and whose largest image is 4,194,304 pixels
- 672 by 1568
21:9at2K- Made, on a model whose sides are multiples of 16 and whose largest image is 4,194,304 pixels
- 3120 by 1344, the nearest within the largest image
aspect_ratioalone takes1K.resolutionalone takes1:1for a generation andautofor an edit.auto, on an edit alone, follows the first input image's own ratio. An edit job onPOST /v1/jobsthat names no size takesautoat1K; an edit onPOST /v1/tasksorPOST /v1/images/editsthat names none keeps the model's own size.- Both forms at once (
widthorheightbesideaspect_ratioorresolution, orsizebeside them on OpenAI's routes) is a 400invalid_valueat the shape's field. A ratio or resolution not listed, orautoon a generation, is a 400invalid_valuenaming the field, and a ratio the model's sides cannot make a 400invalid_valueatoptions.aspect_ratio. - Each size has its own price, set by HIPS. A size made this way that no price covers is a 400
invalid_valueatoptions.aspect_ratio(aspect_ratioon OpenAI's routes) naming the sizes the model is offered at, so a shape is served once its size is priced.
Input images
- Each image is an input with
type: "image"and its bytes inline asdata, base64 with or without padding. OnPOST /v1/tasksand OpenAI's image routes anupload_idis a 400unsupported_valueand aurla 400unsupported_parameter: there image tasks take their images inline. An edit sent as a job onPOST /v1/jobsalso takes them byurlorupload_id(Images in an edit job). rolesays what the image is to the edit:reference(the default), an image to change or to take from, ormask, the area to paint over, on a model that inpaints. An edit takes at least one reference image (400missing_required_parameter), at most one mask (400invalid_value), and at most the model's number of input images, the mask counted (400too_many_inputs). A mask sent to a model that takes none is a 400unsupported_valueat the input'srole.- PNG, JPEG or WebP, told by the image's first bytes, never by a name or a declared type. Each is at most 8,192 pixels on a side and 33,554,432 pixels, read from its header before anything decodes it; anything else is a 400
invalid_imagenaming the input. - All the images of one request together are at most 3,096,576 bytes, since they travel to the GPU in one message; more is a 400
input_too_large. Send smaller or fewer images. - Their metadata is removed before an image reaches a GPU or the content checks: EXIF (a GPS position, a camera's serial number, an owner's name), XMP, color profiles, comments, thumbnails and text. No pixel is changed.
Images in an edit job
An edit sent as an asynchronous job on POST /v1/jobs, with the same body as a task, also takes each image by reference: an image input carries url, an HTTPS address HIPS fetches, or upload_id, an upload of the workspace (Uploads), in place of data. HIPS reads and checks every image before the job is queued, so a job is refused at once for an image at fault, never failed later.
Or name the images in the job's top-level images array, each an HTTPS address or an upl_ id, and keep the prompt as the text input: HIPS takes them as image inputs after the body's own inputs, in their order, so the first is the one auto follows. A body naming both images and an image input is a 400 invalid_value at images: send one form. A refusal of an image of the array names it images[0], images[1] and so on, and more images than the model takes is a 400 too_many_inputs at images.
Edit job with images
{
"model": "<catalog id>",
"task": "image_edit",
"inputs": [{"id": "p", "type": "text", "text": "Make the t-shirt green"}],
"images": ["https://example.com/photo.png", "upl_01kbx0fbm4n7k2v9q8r3t5w6yz"]
}- From 1 image to the model's number of input images, the mask counted; more is a 400
too_many_inputsbefore any image is read. Theimagesarray holds at most 16 whatever the model. - Each image is refused with a 400 naming its own field (
inputs[1].url,inputs[2].upload_id,inputs[1].data): larger than 30 MB,image_too_large; larger than the 3,096,576 bytes one request carries to a GPU,input_too_large; not a PNG, JPEG or WebP by its header,invalid_image; 14 pixels or fewer on a side,image_too_small; a ratio beyond 1:16 or 16:1,image_aspect_ratio_unsupported. - An address is
httpson its own port, 443, with no user name or password, at most 2,048 characters, its host a public internet address or a name every address of which is public. HIPS fetches it from outside its own network, through its egress proxy, following at most 5 redirects, each judged as the first address was. The image arrives whole within 20 seconds, and no slower than 32 KiB a second after its first 2 seconds. An address HIPS does not fetch, or one that gave no image, is a 400invalid_image_urlsaying why; a 503overloadedwithRetry-Afterwhen the gateway cannot fetch now. - An upload is an
upl_of the workspace with purposeinput, ready, and within the key's reach: afullkey every upload of the workspace, any other key the uploads it created. Otherwise its upload code:upload_not_found,upload_expired,upload_incomplete,upload_mismatchorupload_consumed. - A fetched or uploaded image is held in memory for its job alone, its metadata removed as for every input image; HIPS never stores a fetched image and never logs an address.
OpenAI's image routes
POST /v1/images/generations takes OpenAI's JSON body and POST /v1/images/edits its multipart form, designed to follow OpenAI's image API with the HIPS key and base URL; the compatibility matrix records each client once it is tested. Each is served as the task it stands for, with every rule on this page. They take model, prompt, n, size (<width>x<height>, or auto for the model's own) or HIPS's own aspect_ratio and resolution in its place, output_format and output_compression, a jpeg output's quality from 1 to 100; the edit route the images as image or image[] files and a mask file. They take no seed, steps, negative prompt or sampler: use the task API for those. Every field HIPS does not serve is refused with a 400 naming it, never ignored (Images).
Python
import base64
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["HIPS_API_KEY"],
base_url="https://ai.hips.com/v1",
)
made = client.images.generate(
model=os.environ["HIPS_MODEL"],
prompt="A red apple on a wooden table, soft morning light",
size="1024x1024",
)
with open("apple.png", "wb") as f:
f.write(base64.b64decode(made.data[0].b64_json))
edited = client.images.edit(
model=os.environ["HIPS_MODEL"],
image=open("photo.png", "rb"),
prompt="Make the t-shirt green",
)
with open("photo-green.png", "wb") as f:
f.write(base64.b64decode(edited.data[0].b64_json))JavaScript
import fs from "node:fs";
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.HIPS_API_KEY,
baseURL: "https://ai.hips.com/v1",
});
const made = await client.images.generate({
model: process.env.HIPS_MODEL,
prompt: "A red apple on a wooden table, soft morning light",
size: "1024x1024",
});
fs.writeFileSync("apple.png", Buffer.from(made.data[0].b64_json, "base64"));
const edited = await client.images.edit({
model: process.env.HIPS_MODEL,
image: fs.createReadStream("photo.png"),
prompt: "Make the t-shirt green",
});
fs.writeFileSync("photo-green.png", Buffer.from(edited.data[0].b64_json, "base64"));cURL
curl https://ai.hips.com/v1/images/generations \
-H "Authorization: Bearer $HIPS_API_KEY" \
-H "Content-Type: application/json" \
-d "{\"model\":\"$HIPS_MODEL\",\"prompt\":\"A red apple on a wooden table, soft morning light\",\"size\":\"1024x1024\"}"
curl https://ai.hips.com/v1/images/edits \
-H "Authorization: Bearer $HIPS_API_KEY" \
-F "model=$HIPS_MODEL" \
-F "prompt=Make the t-shirt green" \
-F "image=@photo.png" \
-F "output_format=jpeg" \
-F "output_compression=90"Usage unit
image: a fixed price per output image at each size the model is offered at, the same in both pools. Steps, the seed and the model's settings do not change it.- The quote is bound when the request is accepted: the images asked times the price at their size. That maximum is held against your balance first, a 402
insufficient_creditwhen it does not cover it, and a budget guardrail counts it like any request. - The bill is the images made times that price, in
x-hips-cost-micros, an image the content checks withhold included; an interrupted attempt and an attempt past its deadline are billed no image. From November 28, 2026, a request is also billed the checks the decision service answered. - An image request is billed for the images that were made, even if the client left before reading them, and if the client left before the output check finished, that includes any images the check would have withheld; a retry with the same idempotency key is then refused (result_expired, naming the first request), never run or billed again; a request the client leaves before any image is made is charged no image, and from November 28, 2026 only the checks the decision service answered.
- A size the model allows and no price covers is a 400
invalid_valuewhose message names the sizes the model is offered at (options.widthon the task API,sizeon OpenAI's routes;options.aspect_ratioandaspect_ratiofor a size named by its shape). - On the task API,
usage.unitscounts the images asked andusage.billed_unitsthe images billed. OpenAI's routes answer nousage.
Result handling
The task API answers one entry in results per image asked, in order, each with input the prompt's id and its index: the image's media_type, width, height and data in base64, or the error of an image the content checks withheld. The answer's seed is the one the images were made with.
Answer
{
"object": "task",
"id": "job_...",
"model": "<pinned id>",
"task": "image_generation",
"results": [
{"input": "p", "index": 0, "media_type": "image/png", "width": 1024, "height": 1024, "data": "<base64>"},
{"input": "p", "index": 1, "error": {"message": "HIPS's automated content checks withheld this image: ...", "type": "invalid_request_error", "param": null, "code": "image_withheld"}}
],
"seed": 1234567,
"usage": {"units": 2, "unit": "image", "billed_units": 2}
}OpenAI's routes answer created, data with each delivered image's b64_json in order, output_format and size. A withheld image is left out of data, and the answer gains a hips object whose withheld names its index among the images asked, with its error:
Answer on OpenAI's routes
{
"created": 1792663200,
"data": [{"b64_json": "<base64>"}],
"output_format": "png",
"size": "1024x1024",
"hips": {
"withheld": [
{"index": 1, "error": {"message": "HIPS's automated content checks withheld this image: ...", "type": "invalid_request_error", "param": null, "code": "image_withheld"}}
]
}
}- Images are answered inline alone, and no answer carries a URL to fetch one from later. HIPS keeps each image delivered, with the prompt and settings used to make it, in the workspace's Generations for thirty (30) days, then deletes it, so save what you need longer from the answer.
- Every image is 8-bit RGB, with no transparency, and carries the AI-generated mark below and no other metadata.
- A request whose images are made on more than one GPU, which HIPS does when one GPU's answer cannot carry them all, delivers all of them or none: if one part fails, nothing is delivered and no image is billed, and from November 28, 2026 only the checks the decision service answered are.
Content checks
Every image made is checked before it reaches you, and the prompt is not checked. An edit's input images go with each check as reference alone, so the decision service can tell whether an image made shows an identifiable real person; only the image made is judged. The checks look for the content the Acceptable Use Policy prohibits in Sections 5.2 to 5.4: sexual content involving a minor, intimate imagery of an identifiable real person made or changed without their consent, and sexually explicit content. An image is withheld only when the check finds sexual content involving a minor with near certainty, or when its check gets no answer, since HIPS delivers no image unchecked. HIPS logs the checks' other findings, with their scores and the request id and never the prompt or the image, while it measures how accurate the checks are, and the image is delivered. A decision service outside HIPS judges each check. Each check the decision service answers is a usage record of its own, marked decision. From November 28, 2026, each is charged by the input tokens the decision service counted, its images at USD 0.12 per million and the rest at USD 0.0525.
| When | What you get | Billed |
|---|---|---|
| The check finds other prohibited content in an image made | The image, delivered: HIPS logs the finding with the checks' scores and the request id, never the prompt or the image | As any image delivered |
| An image made is withheld: the check finds sexual content involving a minor with near certainty | The other images, and the withheld one's image_withheld error in its results entry, or in hips.withheld on OpenAI's routes | Every image made, and from November 28, 2026 the checks |
| Every image made is withheld | 400 content_refused at task | Every image made, and from November 28, 2026 the checks |
| The check of an image made gets no answer, even when asked again (the decision service failed or did not answer in time) | The other images, and the unchecked one's error in its results entry, or in hips.withheld on OpenAI's routes, whose message reads: "HIPS's automated content checks withheld this image: its check could not be completed, and HIPS delivers no image unchecked. It was charged as an image made." | Every image made, and from November 28, 2026 the checks |
| No image can be delivered because the checks cannot run (the decision service failed or did not answer in time for every image made, or HIPS's day of checks is used up) | 503 content_check_unavailable with Retry-After: HIPS delivers no image unchecked | Every image made, and from November 28, 2026 the checks the decision service answered before it could not run |
| The workspace's share of the day's content checks is used up, or the day's checks run low and it holds its part of what is left (a quarter of it, shrinking as the day fills) | 429 rate_limit_exceeded with param checks, and Retry-After until they renew at midnight UTC. With the workspace's checks off its own share does not apply, and past its part of the day it gets 503 content_check_unavailable with Retry-After | Every image made, and from November 28, 2026 the checks the decision service answered before they ran out |
| The request requires a region | 400 requirement_conflict before any work: the decision service is outside every region's processing, and a request that requires a region is processed only in its region. With the workspace's checks off, 503 content_check_unavailable, which a retry does not help | Nothing |
The check finds other prohibited content in an image made
- What you get
- The image, delivered: HIPS logs the finding with the checks' scores and the request id, never the prompt or the image
- Billed
- As any image delivered
An image made is withheld: the check finds sexual content involving a minor with near certainty
- What you get
- The other images, and the withheld one's
image_withhelderror in itsresultsentry, or inhips.withheldon OpenAI's routes - Billed
- Every image made, and from November 28, 2026 the checks
Every image made is withheld
- What you get
- 400
content_refusedattask - Billed
- Every image made, and from November 28, 2026 the checks
The check of an image made gets no answer, even when asked again (the decision service failed or did not answer in time)
- What you get
- The other images, and the unchecked one's error in its
resultsentry, or inhips.withheldon OpenAI's routes, whose message reads: "HIPS's automated content checks withheld this image: its check could not be completed, and HIPS delivers no image unchecked. It was charged as an image made." - Billed
- Every image made, and from November 28, 2026 the checks
No image can be delivered because the checks cannot run (the decision service failed or did not answer in time for every image made, or HIPS's day of checks is used up)
- What you get
- 503
content_check_unavailablewithRetry-After: HIPS delivers no image unchecked - Billed
- Every image made, and from November 28, 2026 the checks the decision service answered before it could not run
The workspace's share of the day's content checks is used up, or the day's checks run low and it holds its part of what is left (a quarter of it, shrinking as the day fills)
- What you get
- 429
rate_limit_exceededwithparamchecks, andRetry-Afteruntil they renew at midnight UTC. With the workspace's checks off its own share does not apply, and past its part of the day it gets 503content_check_unavailablewithRetry-After - Billed
- Every image made, and from November 28, 2026 the checks the decision service answered before they ran out
The request requires a region
- What you get
- 400
requirement_conflictbefore any work: the decision service is outside every region's processing, and a request that requires a region is processed only in its region. With the workspace's checks off, 503content_check_unavailable, which a retry does not help - Billed
- Nothing
The message of a refusal and of a withheld image is the statement of reasons the Acceptable Use Policy gives in Section 13.5, naming what the image appears to show and that content's own sections of the policy. A withheld image's reads: "HIPS's automated content checks withheld this image: it appears to show content involving a minor, which the Acceptable Use Policy prohibits (Sections 5.2 and 11.10). This message is the statement of reasons (Section 13.5). It was charged as an image made." An image withheld because its check got no answer reads instead: "HIPS's automated content checks withheld this image: its check could not be completed, and HIPS delivers no image unchecked. It was charged as an image made." HIPS records each refusal against the workspace with its reason, never the prompt or an image, to enforce the policy.
Turning the checks off
The checks are on by default. An owner or admin can turn them off for the workspace's image requests in Workspace settings. A model whose license requires content filtering or a review of its outputs keeps its checks on whatever the workspace sets, and the setting names those models beside the switch. Turning them off lifts refusals, never the checks: whatever any setting says, every image made is still checked and its findings logged as above, and an image showing sexual content involving a minor with near certainty is withheld. With the checks off, these checks are HIPS's own: the workspace's own share of the day's checks does not apply, while its part of what is left of the day still does, so no one workspace uses up the day's checks for every other. Every image carries the mark below.
The AI-generated mark
Every image HIPS answers carries a machine-readable mark that it was made with AI: the IPTC digital source type trainedAlgorithmicMedia for a generated image and compositeWithTrainedAlgorithmicMedia for an edit, as Iptc4xmpExt:DigitalSourceType in an XMP packet. A PNG carries it in an iTXt chunk named XML:com.adobe.xmp, a JPEG in an APP1 segment and a WebP in an XMP chunk. Writing it changes no pixel. The image carries no other metadata: not the prompt, the seed or the settings.
The Acceptable Use Policy (Section 6.3) asks you not to remove, alter or obscure it, and not to present an image as made by a person where the law requires its artificial origin to be disclosed.
Data handling
- HIPS never trains any model on your prompts or images. A prompt and an edit's input images are held in memory for the request alone, on the gateway and on the GPU that serves it, and an edit's input images are never kept. Each image delivered is kept for 30 days in the workspace's Generations, with its prompt and settings, then deleted; you can delete it sooner there. An image the content checks withheld is never kept (Data handling).
- An input image's metadata is removed before it reaches a GPU or the content checks, and no pixel is changed.
- The content checks send each image made, with an edit's input images as reference, to the decision service outside HIPS for the one check, after their metadata is removed. The prompt is not sent to it.
- A refusal's record names the workspace and the reason, never the prompt or an image, and a finding's log line names the request and the checks' scores, never the prompt or an image.
For AI agents
The key is read from HIPS_API_KEY, never shown here.
Onboard your agent to HIPS
Paste one line into your coding agent. It reads HIPS's setup guide, connects your project to the API and checks the connection with a real request.
Set up HIPS for me: fetch https://hips.com/agent-setup.md and follow it.
MCP
List the models
Every model HIPS serves, with its id, modality and prices.
Not yet. The HIPS MCP server is coming soon.Read the public catalog
Models and their prices without a key.
Not yet. The HIPS MCP server is coming soon.
hi
Install hi
The HIPS command line for coding agents and the API.
In the Docscurl -fsSL https://hips.com/hi.sh | shList the models
Every model HIPS serves, with its id, modality and prices.
In the Docshi modelsRead the public catalog
Models and their prices without a key.
In the Docshi models
API
List the models
Every model HIPS serves, with its id, modality and prices.
In the Docscurl -X GET \ https://ai.hips.com/v1/models \ -H "Authorization: Bearer $HIPS_API_KEY"Read the public catalog
Models and their prices without a key.
In the Docscurl -X GET \ https://hips.com/api/models