---
title: "Write and score video hooks — estimate"
method: POST
path: "/v1/ai/hooks/estimate"
tags: ["Social posts"]
---

# Write and score video hooks — estimate

`POST /v1/ai/hooks/estimate`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/ai/hooks/estimate`
- Auth: HTTP bearer

Price the request without executing it. Same body as `POST /v1/ai/hooks`.

## Request body

- union
  - object
    - `idea` string, required: What the video is about: a sentence, a script or a transcript
    - `count` integer: How many hooks, each from a different formula
    - `hooks` string[]: Score your own spoken lines instead of writing new ones — free, no AI
    - `model` 'auto' | 'gemini-3.8-flash' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.1-pro-preview' | 'gemini-3.1-flash-lite': A model id (GET /v1/ai/models) or "auto" — then `quality` decides: fast=gemini-3.1-flash-lite, balanced=gemini-3.5-flash, best=gemini-3.1-pro-preview
    - `details` string: Facts the hooks may use (numbers, names, results). Nothing else is invented: a missing number comes back as {{number}}
    - `quality` 'fast' | 'balanced' | 'best': Which model auto picks: fast (cheapest) · balanced (default) · best (strongest, costs more)
    - `audience` string: Who is watching
    - `language` string: he, en, ar, ru…
    - `platform` 'instagram' | 'tiktok' | 'youtube' | 'facebook' | 'linkedin'
  - object
    - `idea` string: What the video is about: a sentence, a script or a transcript
    - `count` integer: How many hooks, each from a different formula
    - `hooks` string[], required: Score your own spoken lines instead of writing new ones — free, no AI
    - `model` 'auto' | 'gemini-3.8-flash' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.1-pro-preview' | 'gemini-3.1-flash-lite': A model id (GET /v1/ai/models) or "auto" — then `quality` decides: fast=gemini-3.1-flash-lite, balanced=gemini-3.5-flash, best=gemini-3.1-pro-preview
    - `details` string: Facts the hooks may use (numbers, names, results). Nothing else is invented: a missing number comes back as {{number}}
    - `quality` 'fast' | 'balanced' | 'best': Which model auto picks: fast (cheapest) · balanced (default) · best (strongest, costs more)
    - `audience` string: Who is watching
    - `language` string: he, en, ar, ru…
    - `platform` 'instagram' | 'tiktok' | 'youtube' | 'facebook' | 'linkedin'

## Response `200`

Estimate

- Estimate
  - `operation` string
  - `estimated_credits` number
  - `credits_to_reserve` number
  - `estimated_usage` object
  - `note` string, nullable
  - `balance` object
    - `available` number
  - `sufficient` boolean

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
