Language Model Access
layout im2col index map
Return row-major two-dimensional im2col patch values and original flattened indexes for a supplied image plane.
POST https://modell.halowerk.com/v1/layout-im2col-index-mapInputs
| Field | Type | Required | Description |
|---|---|---|---|
| image | array | Yes | |
| kernel_height | integer | Yes | |
| kernel_width | integer | Yes | |
| stride | integer | Yes |
Show full input schema
{
"type": "object",
"properties": {
"image": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number",
"minimum": -1000,
"maximum": 1000
},
"maxItems": 16,
"minItems": 1
},
"maxItems": 16,
"minItems": 1
},
"kernel_height": {
"type": "integer",
"minimum": 1,
"maximum": 8
},
"kernel_width": {
"type": "integer",
"minimum": 1,
"maximum": 8
},
"stride": {
"type": "integer",
"minimum": 1,
"maximum": 8
}
},
"required": [
"image",
"kernel_height",
"kernel_width",
"stride"
],
"additionalProperties": false
}Published input example
{
"image": [
[
1,
2,
3
],
[
4,
5,
6
]
],
"kernel_height": 2,
"kernel_width": 2,
"stride": 1
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.
More endpoints in this hub
- Language Model Access0.003 USDC
chat completions
POSThttps://modell.halowerk.com/v1/chat-completionsRuns openai/gpt-oss-20b via GroqCloud. Messages are sent to Groq Inc., USA; payment metadata is not forwarded. At most 8 messages, 8192 UTF-8 bytes overall and 1024 completion tokens including reasoning. A length finish_reason exposes trunc
- Language Model Access0.002 USDC
context plan
POSThttps://modell.halowerk.com/v1/context-planPlans the division of a long input for a given model. It reserves room for the system prompt, the expected answer and a safety margin, then works out how many chunks are needed and where to cut, preferring paragraph boundaries over line and
- Language Model Access0.002 USDC
cost estimate
POSThttps://modell.halowerk.com/v1/cost-estimateWorks out what a call would cost. Give either the text itself or a token count, plus the expected output length, and get input, output, cache-read and cache-write cost per model with the total. Token counts derived from text are estimates f