{
  "aboutHtml": "<p>Převádí texty na vektory pomocí asynchronních dávkových úloh.</p>",
  "aboutText": "Převádí texty na vektory pomocí asynchronních dávkových úloh.",
  "locale": "cs",
  "methods": [
    {
      "html": "<section class=\"meth\" data-route=\"Ultra\"><header><b><span class=\"alias\">Ultra</span> Batch</b><code>POST /v1/batches</code></header><dl class=\"method-capabilities\" data-model-capabilities><div><dt>Vstup</dt><dd><code>text</code></dd></div><div><dt>Výstup</dt><dd><code>embedding</code></dd></div><div><dt>Kontext</dt><dd>V katalogu neuvedeno</dd></div><div><dt>Max. odpověď</dt><dd>V katalogu neuvedeno</dd></div></dl><dl><div><dt>Vstup</dt><dd>0,00015 US$ <em>/ 1K</em></dd></div><div><dt>Výstup</dt><dd>0,00 US$ <em>/ 1K</em></dd></div></dl><details class=\"note-s\" data-method-contract><summary>Parametry a životní cyklus metody</summary><div class=\"tw\" data-card-table=\"contract\"><table><thead><tr><th>Parametr</th><th>Kontrakt</th></tr></thead><tbody><tr><th data-cell-label=\"Parametr\" scope=\"row\"><span class=\"card-cell-label\">Parametr</span><code>endpoint</code></th><td data-cell-label=\"Kontrakt\"><span class=\"card-cell-label\">Kontrakt</span>/v1/embeddings</td></tr><tr><th data-cell-label=\"Parametr\" scope=\"row\"><span class=\"card-cell-label\">Parametr</span><code>model</code></th><td data-cell-label=\"Kontrakt\"><span class=\"card-cell-label\">Kontrakt</span>google/gemini-embedding-001:batch</td></tr><tr><th data-cell-label=\"Parametr\" scope=\"row\"><span class=\"card-cell-label\">Parametr</span><code>requests</code></th><td data-cell-label=\"Kontrakt\"><span class=\"card-cell-label\">Kontrakt</span>custom_id + body.input</td></tr></tbody></table></div><p>Životní cyklus: <code>asynchronous</code></p><p class=\"note-s\"><code>GET /v1/batches/{request_id}</code> · response.id</p></details></section>",
      "method_identity": {
        "effective_request_model_id": "google/gemini-embedding-001:batch",
        "fmt": "batches",
        "http": "POST",
        "path": "/v1/batches",
        "request_model_id": "google/gemini-embedding-001:batch",
        "route_label": "Ultra"
      },
      "method_key": "Ultra|batches|/v1/batches|google%2Fgemini-embedding-001%3Abatch",
      "ordinal": 0,
      "rawMethod": {
        "contract": {
          "data": {
            "example_body": {
              "endpoint": "/v1/embeddings",
              "model": "google/gemini-embedding-001:batch",
              "requests": [
                {
                  "body": {
                    "input": "First document"
                  },
                  "custom_id": "text-1"
                }
              ]
            },
            "outputs": {
              "family": "embedding",
              "fields": [
                {
                  "name": "id",
                  "type": "string"
                },
                {
                  "name": "status",
                  "type": "string"
                },
                {
                  "name": "results[].custom_id",
                  "type": "string"
                },
                {
                  "name": "results[].response.body.data[].embedding",
                  "type": "number[]"
                },
                {
                  "name": "results[].error",
                  "type": "object|null"
                }
              ],
              "format": "JSON",
              "vector_dimensions": 3072
            },
            "parameters": [
              {
                "enum": [
                  "google/gemini-embedding-001:batch"
                ],
                "name": "model",
                "required": true,
                "type": "string"
              },
              {
                "enum": [
                  "/v1/embeddings"
                ],
                "name": "endpoint",
                "required": true,
                "type": "string"
              },
              {
                "min_items": 1,
                "name": "requests",
                "required": true,
                "type": "batch_item[]"
              },
              {
                "name": "requests[].custom_id",
                "required": true,
                "type": "string",
                "unique_within_batch": true
              },
              {
                "name": "requests[].body.input",
                "required": true,
                "type": "string"
              }
            ]
          },
          "hints": [],
          "input": {
            "endpoint": "/v1/embeddings",
            "model": "google/gemini-embedding-001:batch",
            "requests": "custom_id + body.input"
          },
          "lifecycle": {
            "create": {
              "accepted_status": 202,
              "http": "POST",
              "path": "/v1/batches"
            },
            "mode": "asynchronous",
            "status": {
              "http": "GET",
              "id_source": "response.id",
              "path": "/v1/batches/{request_id}"
            }
          },
          "method": {
            "http": "POST",
            "path": "/v1/batches"
          },
          "output": {
            "family": "embedding",
            "fields": [
              {
                "name": "id",
                "type": "string"
              },
              {
                "name": "status",
                "type": "string"
              },
              {
                "name": "results[].custom_id",
                "type": "string"
              },
              {
                "name": "results[].response.body.data[].embedding",
                "type": "number[]"
              },
              {
                "name": "results[].error",
                "type": "object|null"
              }
            ],
            "format": "JSON",
            "vector_dimensions": 3072
          }
        },
        "ctx": null,
        "examples": [
          {
            "code": "curl --silent --show-error https://api.ailoot.ai/v1/batches \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-Ailoot-Routing-Mode: ultra\" \\\n  --data '{\"model\":\"google/gemini-embedding-001:batch\",\"endpoint\":\"/v1/embeddings\",\"requests\":[{\"custom_id\":\"text-1\",\"body\":{\"input\":\"First document\"}}]}'",
            "label": "curl · POST /v1/batches",
            "language": "bash"
          },
          {
            "code": "curl --silent --show-error \"https://api.ailoot.ai/v1/batches/$BATCH_ID\" \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" \\\n  -H \"X-Ailoot-Routing-Mode: ultra\"",
            "label": "curl · GET /v1/batches/{request_id}",
            "language": "bash"
          }
        ],
        "family": "batch",
        "fmt": "batches",
        "hints": [],
        "http": "POST",
        "img_in": null,
        "img_out": null,
        "in": 0.15,
        "input": [
          "text"
        ],
        "label": "Batch",
        "max_out": null,
        "native_endpoint": "batches",
        "out": 0,
        "output": [
          "embedding"
        ],
        "path": "/v1/batches",
        "pricing": {
          "billing_mode": "token",
          "cache_write_1h_usd_per_token": null,
          "cache_write_5m_usd_per_token": null,
          "currency": "USD",
          "input_usd_per_token": 1.5e-07,
          "output_usd_per_token": 0,
          "price_policy": "native_accepted_retail_card",
          "provenance": "native_group_model_pricing",
          "status": "configured",
          "tiers": [
            {
              "cache_write_1h_usd_per_token": null,
              "cache_write_5m_usd_per_token": null,
              "input_usd_per_token": 1.5e-07,
              "interval_boundary": "min_exclusive_max_inclusive",
              "label": "",
              "min_tokens": 0,
              "null_rate_policy": "inherit_base_rate",
              "output_usd_per_token": 0
            }
          ]
        },
        "request_model_id": "google/gemini-embedding-001:batch",
        "route_label": "Ultra",
        "route_tier": "ultra",
        "status_reads": [
          "GET /v1/batches/{request_id}"
        ],
        "tiers": [],
        "unit": "token",
        "units": []
      }
    }
  ],
  "model_id": "google/gemini-embedding-001:batch",
  "page": {
    "canonical": "https://ailoot.ai/models/cs/google-gemini-embedding-001-u003a-batch/",
    "description": "Převádí texty na vektory pomocí asynchronních dávkových úloh.",
    "locale": "cs",
    "md_url": "https://ailoot.ai/models/cs/google-gemini-embedding-001-u003a-batch/index.md",
    "title": "Gemini Embedding 001 Batch",
    "url": "https://ailoot.ai/models/cs/google-gemini-embedding-001-u003a-batch/"
  },
  "rawModel": {
    "about": "Převádí texty na vektory pomocí asynchronních dávkových úloh.",
    "alias_of": null,
    "aliases": [],
    "author": "Google",
    "available": true,
    "canonical_model": "google/gemini-embedding-001:batch",
    "card_routes": [
      {
        "label": "Ultra",
        "rates": [
          {
            "amount": 0.15,
            "amount_unit": "usd_per_million_tokens",
            "key": "in",
            "label": "Input",
            "side": "in"
          }
        ]
      }
    ],
    "ctx": null,
    "formats": [
      "batches"
    ],
    "id": "google/gemini-embedding-001:batch",
    "input": [
      "text"
    ],
    "kind": "embedding",
    "max_out": null,
    "methods": [
      {
        "contract": {
          "data": {
            "example_body": {
              "endpoint": "/v1/embeddings",
              "model": "google/gemini-embedding-001:batch",
              "requests": [
                {
                  "body": {
                    "input": "First document"
                  },
                  "custom_id": "text-1"
                }
              ]
            },
            "outputs": {
              "family": "embedding",
              "fields": [
                {
                  "name": "id",
                  "type": "string"
                },
                {
                  "name": "status",
                  "type": "string"
                },
                {
                  "name": "results[].custom_id",
                  "type": "string"
                },
                {
                  "name": "results[].response.body.data[].embedding",
                  "type": "number[]"
                },
                {
                  "name": "results[].error",
                  "type": "object|null"
                }
              ],
              "format": "JSON",
              "vector_dimensions": 3072
            },
            "parameters": [
              {
                "enum": [
                  "google/gemini-embedding-001:batch"
                ],
                "name": "model",
                "required": true,
                "type": "string"
              },
              {
                "enum": [
                  "/v1/embeddings"
                ],
                "name": "endpoint",
                "required": true,
                "type": "string"
              },
              {
                "min_items": 1,
                "name": "requests",
                "required": true,
                "type": "batch_item[]"
              },
              {
                "name": "requests[].custom_id",
                "required": true,
                "type": "string",
                "unique_within_batch": true
              },
              {
                "name": "requests[].body.input",
                "required": true,
                "type": "string"
              }
            ]
          },
          "hints": [],
          "input": {
            "endpoint": "/v1/embeddings",
            "model": "google/gemini-embedding-001:batch",
            "requests": "custom_id + body.input"
          },
          "lifecycle": {
            "create": {
              "accepted_status": 202,
              "http": "POST",
              "path": "/v1/batches"
            },
            "mode": "asynchronous",
            "status": {
              "http": "GET",
              "id_source": "response.id",
              "path": "/v1/batches/{request_id}"
            }
          },
          "method": {
            "http": "POST",
            "path": "/v1/batches"
          },
          "output": {
            "family": "embedding",
            "fields": [
              {
                "name": "id",
                "type": "string"
              },
              {
                "name": "status",
                "type": "string"
              },
              {
                "name": "results[].custom_id",
                "type": "string"
              },
              {
                "name": "results[].response.body.data[].embedding",
                "type": "number[]"
              },
              {
                "name": "results[].error",
                "type": "object|null"
              }
            ],
            "format": "JSON",
            "vector_dimensions": 3072
          }
        },
        "ctx": null,
        "examples": [
          {
            "code": "curl --silent --show-error https://api.ailoot.ai/v1/batches \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-Ailoot-Routing-Mode: ultra\" \\\n  --data '{\"model\":\"google/gemini-embedding-001:batch\",\"endpoint\":\"/v1/embeddings\",\"requests\":[{\"custom_id\":\"text-1\",\"body\":{\"input\":\"First document\"}}]}'",
            "label": "curl · POST /v1/batches",
            "language": "bash"
          },
          {
            "code": "curl --silent --show-error \"https://api.ailoot.ai/v1/batches/$BATCH_ID\" \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" \\\n  -H \"X-Ailoot-Routing-Mode: ultra\"",
            "label": "curl · GET /v1/batches/{request_id}",
            "language": "bash"
          }
        ],
        "family": "batch",
        "fmt": "batches",
        "hints": [],
        "http": "POST",
        "img_in": null,
        "img_out": null,
        "in": 0.15,
        "input": [
          "text"
        ],
        "label": "Batch",
        "max_out": null,
        "native_endpoint": "batches",
        "out": 0,
        "output": [
          "embedding"
        ],
        "path": "/v1/batches",
        "pricing": {
          "billing_mode": "token",
          "cache_write_1h_usd_per_token": null,
          "cache_write_5m_usd_per_token": null,
          "currency": "USD",
          "input_usd_per_token": 1.5e-07,
          "output_usd_per_token": 0,
          "price_policy": "native_accepted_retail_card",
          "provenance": "native_group_model_pricing",
          "status": "configured",
          "tiers": [
            {
              "cache_write_1h_usd_per_token": null,
              "cache_write_5m_usd_per_token": null,
              "input_usd_per_token": 1.5e-07,
              "interval_boundary": "min_exclusive_max_inclusive",
              "label": "",
              "min_tokens": 0,
              "null_rate_policy": "inherit_base_rate",
              "output_usd_per_token": 0
            }
          ]
        },
        "request_model_id": "google/gemini-embedding-001:batch",
        "route_label": "Ultra",
        "route_tier": "ultra",
        "status_reads": [
          "GET /v1/batches/{request_id}"
        ],
        "tiers": [],
        "unit": "token",
        "units": []
      }
    ],
    "model_aliases": [],
    "name": "Gemini Embedding 001 Batch",
    "price": {
      "in": 0.15,
      "in_label": null,
      "out": 0,
      "out_label": null,
      "sort_in": 0.15,
      "sort_out": 0,
      "varies": false
    },
    "public_id": "google/gemini-embedding-001:batch",
    "short": "Převádí texty na vektory pomocí asynchronních dávkových úloh."
  },
  "renderer_schema": {
    "method_order": "rawModel.methods-ordinal",
    "prices": "exact-native-DTO-units-and-selected-renderer-html"
  },
  "representation": "exact-public-dto-and-native-renderer-html",
  "schema": "ailoot-static-model-facts-v1",
  "schema_version": 1,
  "shortText": "Převádí texty na vektory pomocí asynchronních dávkových úloh.",
  "source": {
    "audit_sha256": "e1418485858f523799a07a8bdd899f35d75df3e0a674996db99509683de93a35",
    "bridge_map_sha256": "e1418485858f523799a07a8bdd899f35d75df3e0a674996db99509683de93a35",
    "projection_audit": {
      "parent_manifest_sha256": "2f9ced64460dea37147df4027f3344b0c11b8ff07160017c38be76223b2f1b6b",
      "raw_model_json_sha256": "cf82c6b27c0ae87a2b23fc7e7f016263c73354820a9f53fb8ce4da25b58a12c5",
      "renderer_sha256": "5a19ab8811ed835f31420277712cea095f93ac4ae0cd4c1fb2087343267c0ee6"
    },
    "projection_kind": "catalogue-refresh-native-dto-v1",
    "raw_model_json_sha256": "cf82c6b27c0ae87a2b23fc7e7f016263c73354820a9f53fb8ce4da25b58a12c5",
    "renderer_sha256": "5a19ab8811ed835f31420277712cea095f93ac4ae0cd4c1fb2087343267c0ee6"
  },
  "sourceRevision": "eec015036091697e67a33dbbc351cd1153f24da8cdf2aeaa7edc5b6fe4cad4cb"
}
