- 大規模言語モデル
- API移行ガイド
- 独占機能
- モデルサポート
- OpenAI
- Anthropic
- Gemini
- 中国モデル
- Chat(Baidu ERNIE)
- Chat(Tongyi Qianwen)
- Chat(Tongyi Qianwen-VL)
- Chat(Tongyi Qianwen-OCR)
- Chat(ZHIPU GLM-4)
- Chat(ZHIPU GLM-4V)
- Chat(Baichuan AI)
- Chat(Moonshot kimi AI)
- Chat(Moonshot kimi AI-Vision)
- Chat(01.AI)
- Chat(01.AI-VL)
- Chat(DeepSeek)
- Chat(DeepSeek-VL2)
- Chat(ByteDance Doubao)
- Chat(ByteDance Doubao-Vision)
- Chat(ByteDance Doubao Image Generation)
- Chat(Stepfun)
- Chat (Stepfun Multimodal)
- Chat (iFLYTEK Spark)
- Chat(SenseTime)
- Chat(Minimax)
- Chat(Tencent Hunyuan)
- SiliconFlow
- オープンソースモデル
- Chat(LLaMA3.3)
- Chat(LLaMA3.2 マルチモーダル)
- Chat(LLaMA3.1)
- Chat(Mixtral-8x7B)
- Chat(Mistral-Large-2411)
- Chat(Mistral-small-2503)
- Chat(Pixtral-Large-2411マルチモーダル)
- Chat(Gemma-7B、Gemma-3-27b-it)
- Chat(Gemma2-9B)
- Chat(Command R+)
- Chat(Qwen2)
- Chat(Qwen2.5)
- Chat(Qwen2.5-VL)
- Chat(Llama-3.1-nemotron)
- Chat(QwQ-32B、QwQ-Plus、QwQ-32B-Preview)
- 専門モデル
- その他のモデル
- 画像生成
- DALL.E
- Stability.ai
- Midjourney
- Midjourney-Relax
- 302.AI
- SDXL(画像生成)
- SDXL-Lora(画像生成-Lora)
- SDXL-Lightning(高速画像生成)
- SDXL-Lightning-V2(高速画像生成-V2)
- SDXL-Lightning-V3(高速画像生成-V3)
- SD3(画像生成-SD3)
- SD3(画像生成-SD3-v2)
- Aura-Flow(画像生成)
- Kolors(画像生成-Kolors)
- Kolors(参考画像生成-KLING)
- QRCode(Art QR code 生成)
- Lora(画像生成-Lora)
- SD-3.5-Large(画像生成)
- SD-3.5-Large-Turbo(画像生成)
- SD-3.5-Medium(画像生成)
- Lumina-Image-V2(画像生成)
- Playground-v25(画像生成)
- Omnigen-V1(画像生成)
- Glif
- Flux
- Ideogram
- Recraft
- Luma
- Doubao
- Google
- Minimax
- ZHIPU
- Baidu
- 画像処理
- 302.AI
- Upscale(画像拡大)
- Upscale-V2(画像拡大-V2)
- Upscale-V3(画像拡大-V3)
- Upscale-V4(画像拡大-V4)
- Super-Upscale(超画像拡大)
- Super-Upscale-V2(超画像拡大-V2)
- Face-upscale(肖像画の画像拡大)
- Colorize(白黒写真に色を付ける)
- Colorize(白黒写真に色を付ける-V2)
- Removebg(背景を削除)
- Removebg-V2(背景を削除-V2)
- Inpaint(画像修正)
- Erase(オブジェクトの削除)
- Face-to-many(肖像画画像の様式化)
- Llava(画像認識)
- Relight(補助照明)
- Relight-background(二次光の背景合成)
- Relight-V2(補助照明-V2)
- Face-swap-V2(AIフェイススワップV2)
- Fetch(タスク取得)
- HtmltoPng(HTMLをPNG形式に変換)
- SvgToPng(SVGをPNG形式に変換)
- image-translate(画像翻訳)
- image-translate-query(画像翻訳結果)
- image-translate-redo(画像翻訳修正)
- Flux-selfie(スタイリッシュな自撮り写真)
- Trellis(画像を3Dモデルに変換)
- Pose-Transfer(人物のポーズ変換)
- Pose-Transfer(人物のポーズ変換結果)
- Virtual-Tryon(バーチャル試着)
- Virtual-Tryon(バーチャル試着結果)
- Denoise(AIノイズ除去)
- Deblur(AIによるぼかし除去)
- 302.AI-ComfyUI
- Vectorizer
- Stability.ai
- Fast Upscale(画像の高速拡大)
- Creatice Upscale (創造的な画像拡大)
- Conservative Upscale(保守的な画像拡大)
- Fetch Creatice Upscale(超高解像度画像拡大)
- Erase(物体除去)
- Inpaint(画像修正)
- Outpaint(画像拡張)
- Search-and-replace (内容置換)
- Search-and-recolor (内容再着色)
- Remove-background(背景除去)
- Sketch (スケッチから画像)
- Structure(画像生成)
- Style (スタイルの一貫性)
- Replace-Background(背景を変更)
- Stable-Fast-3D(画像から3Dモデルを変換)
- Stable-Point-3D(画像から3Dモデルへの変換-新バージョン)
- Glif
- Clipdrop
- Recraft
- BRIA
- Remove Background(背景を削除)
- Blur Background(背景をぼかす)
- Generate Background(背景合成)
- Erase Foreground(前景消去)
- Eraser(選択部分消去)
- Expand Image(画像拡張)
- Increase Resolution(解像度の拡大)
- Crop(画像を切り抜く)
- Cutout(商品画像を切り抜き)
- Packshot(クローズアップ写真)
- Shadow (影を追加する)
- Scene (シーン生成)
- Caption(画像の説明)
- Register(画像アップロード)
- Mask(画像分割)
- Presenter info (顔の解析)
- Modify Presenter(顔の修正)
- Delayer Image(画像をPSDに変換)
- Flux
- Hyper3D
- Tripo3D
- FASHN
- Ideogram
- Doubao
- Kling
- 302.AI
- 映像生成
- 統一インターフェース
- 302.AI
- Stable Diffusion
- Luma AI
- Runway
- Kling
- Txt2Video(文字から映像を生成-1.0-クイック-5秒)
- Txt2Video_HQ(文字から映像を生成 1.5- HD - 5秒)
- Txt2Video_HQ(文字から映像を生成 1.5- HD - 10秒)
- Image2Video(画像から映像を生成 1.0- クイック - 5秒)
- Image2Video(画像から映像を生成 1.0- クイック - 10秒)
- Image2Video(画像から映像を生成 1.5- クイック - 5秒)
- Image2Video(画像から映像を生成 1.5- クイック - 10秒)
- Image2Video_HQ(画像から映像を生成 1.5- HD - 5秒)
- Image2Video_HQ(画像から映像を生成 1.5- HD - 10秒)
- Extend_Video(映像延長)
- Txt2Video(テキストから動画生成1.6 - スタンダード - 5秒)
- Txt2Video(テキストから動画生成1.6 - スタンダード - 10秒)
- Txt2Video(テキストから動画生成1.6 - HD - 5秒)
- Txt2Video(テキストから動画生成1.6 - HD - 10秒)
- Image2Video(画像から映像を生成 1.6- スタンダード- 5秒)
- Image2Video(画像から映像を生成 1.6- スタンダード- 10秒)
- Image2Video(画 像から映像を生成 1.6- HD- 5秒)
- Image2Video(画像から映像を生成 1.6- HD- 10秒)
- Image2Video (マルチ画像参照)
- Fetch(タスク取得)
- Minimax
- Pika
- PixVerse
- Genmo
- Hedra
- Haiper
- Sync.
- Lightricks
- Hunyuan
- Vidu
- Tongyi Wanxiang
- SiliconFlow
- Jimeng
- CogVideoX
- Kunlun Tech
- 音声・映像処理
- 情報処理
- 302.AI
- 管理バックエンド
- 情報検索
- Xiaohongshu_Search(小紅書探索メモ)
- Xiaohongshu_Note(小紅書からメモを入手)
- Get_Home_Recommend(小紅書のホームページおすすめ)
- Tiktok_Search(Tiktok映像検索 )
- Douyin_Search(Douyin映像検索)
- Twitter_Search(Xの検索内容)
- Twitter_Post(Xでユーザーの投稿を取得)
- Twitter_User(Xでユーザーの情報を取得)
- Weibo_Post(微博でユーザーの投稿を取得)
- Search_Video(YouTubeビデオを検索)
- Youtube_Info(Youtubeゲットビデオ)
- Youtube_Subtitles(Youtube字幕を取得する)
- Bilibili_Info(Bilibili動画情報を取得する)
- MP_Article_List(WeChat公式アカウントの記事リストを取得する)
- MP_Article(微信公众号の記事を取得)
- ファイル処理
- コード実行
- Tavily
- SearchAPI
- Search1API
- Doc2x
- Glif
- Jina
- DeepL
- Exa
- Bocha AI
- RSSHub
- Firefly card
- Youdao
- Mistral
- 302.AI
- RAG関連
- OpenAI
- 中国モデル
- Jina
- 302.AI
- ツールAPI
- ヘルプセンター
Tokenizer(文書分割)
POST
/jina/tokenizer
出所:https://jina.ai/tokenizer/
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
Authorization
string
optional
Example:
Bearer {{YOUR_API_KEY}}
Body Params application/json
content
string
required
return_tokens
string
required
return_chunks
string
required
max_chunk_length
integer
optional
Example
{
"content": " CHAPTER I Down the Rabbit-Hole Alice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, `and what is the use of a book,' thought Alice `without pictures or conversation?' So she was considering in her own mind (as well as she could, for the hot day made her feel very sleepy and stupid), whether the pleasure of making a daisy-chain would be worth the trouble of getting up and picking the daisies, when suddenly a White Rabbit with pink eyes ran close by her. There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itself, `Oh dear! Oh dear! I shall be late!' (when she thought it over afterwards, it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on, Alice started to her feet, for it flashed across her mind that she had never before seen a rabbit with either a waistcoat-pocket, or a watch to take out of it, and burning with curiosity, she ran across the field after it, and fortunately was just in time to see it pop down a large rabbit-hole under the hedge. White Rabbit checking watch In another moment down went Alice after it, never once considering how in the world she was to get out again. The rabbit-hole went straight on like a tunnel for some way, and then dipped suddenly down, so suddenly that Alice had not a moment to think about stopping herself before she found herself falling down a very deep well. Either the well was very deep, or she fell very slowly, for she had plenty of time as she went down to look about her and to wonder what was going to happen next. First, she tried to look down and make out what she was coming to, but it was too dark to see anything; then she looked at the sides of the well, and noticed that they were filled with cupboards and book-shelves; here and there she saw maps and pictures hung upon pegs. She took down a jar from one of the shelves as she passed; it was labelled `ORANGE MARMALADE', but to her great disappointment it was empty: she did not like to drop the jar for fear of killing somebody, so managed to put it into one of the cupboards as she fell past it. `Well!' thought Alice to herself, `after such a fall as this, I shall think nothing of tumbling down stairs! How brave they'll all think me at home! Why, I wouldn't say anything about it, even if I fell off the top of the house!' (Which was very likely true.) Down, down, down. Would the fall never come to an end! `I wonder how many miles I've fallen by this time?' she said aloud. `I must be getting somewhere near the centre of the earth. Let me see: that would be four thousand miles down, I think--' (for, you see, Alice had learnt several things of this sort in her lessons in the schoolroom, and though this was not a very good opportunity for showing off her knowledge, as there was no one to listen to her, still it was good practice to say it over) `--yes, that's about the right distance--but then I wonder what Latitude or Longitude I've got to?' (Alice had no idea what Latitude was, or Longitude either, but thought they were nice grand words to say.) Presently she began again. `I wonder if I shall fall right through the earth! How funny it'll seem to come out among the people that walk with their heads downward! The Antipathies, I think--' (she was rather glad there was no one listening, this time, as it didn't sound at all the right word) `--but I shall have to ask them what the name of the country is, you know. Please, Ma'am, is this New Zealand or Australia?' (and she tried to curtsey as she spoke--fancy curtseying as you're falling through the air! Do you think you could manage it?) `And what an ignorant little girl she'll think me for asking! No, it'll never do to ask: perhaps I shall see it written up somewhere.' Down, down, down. There was nothing else to do, so Alice soon began talking again. `Dinah'll miss me very much to-night, I should think!' (Dinah was the cat.) `I hope they'll remember her saucer of milk at tea-time. Dinah my dear! I wish you were down here with me! There are no mice in the air, I'm afraid, but you might catch a bat, and that's very like a mouse, you know. But do cats eat bats, I wonder?' And here Alice began to get rather sleepy, and went on saying to herself, in a dreamy sort of way, `Do cats eat bats? Do cats eat bats?' and sometimes, `Do bats eat cats?' for, you see, as she couldn't answer either question, it didn't much matter which way she put it. She felt that she was dozing off, and had just begun to dream that she was walking hand in hand with Dinah, and saying to her very earnestly, `Now, Dinah, tell me the truth: did you ever eat a bat?' when suddenly, thump! thump! down she came upon a heap of sticks and dry leaves, and the fall was over. ",
"return_tokens": "false",
"return_chunks": "true",
"max_chunk_length": 100
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.302.ai/jina/tokenizer' \
--header 'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--header 'Content-Type: application/json' \
--data-raw '{
"content": " CHAPTER I Down the Rabbit-Hole Alice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, `and what is the use of a book,'\'' thought Alice `without pictures or conversation?'\'' So she was considering in her own mind (as well as she could, for the hot day made her feel very sleepy and stupid), whether the pleasure of making a daisy-chain would be worth the trouble of getting up and picking the daisies, when suddenly a White Rabbit with pink eyes ran close by her. There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itself, `Oh dear! Oh dear! I shall be late!'\'' (when she thought it over afterwards, it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on, Alice started to her feet, for it flashed across her mind that she had never before seen a rabbit with either a waistcoat-pocket, or a watch to take out of it, and burning with curiosity, she ran across the field after it, and fortunately was just in time to see it pop down a large rabbit-hole under the hedge. White Rabbit checking watch In another moment down went Alice after it, never once considering how in the world she was to get out again. The rabbit-hole went straight on like a tunnel for some way, and then dipped suddenly down, so suddenly that Alice had not a moment to think about stopping herself before she found herself falling down a very deep well. Either the well was very deep, or she fell very slowly, for she had plenty of time as she went down to look about her and to wonder what was going to happen next. First, she tried to look down and make out what she was coming to, but it was too dark to see anything; then she looked at the sides of the well, and noticed that they were filled with cupboards and book-shelves; here and there she saw maps and pictures hung upon pegs. She took down a jar from one of the shelves as she passed; it was labelled `ORANGE MARMALADE'\'', but to her great disappointment it was empty: she did not like to drop the jar for fear of killing somebody, so managed to put it into one of the cupboards as she fell past it. `Well!'\'' thought Alice to herself, `after such a fall as this, I shall think nothing of tumbling down stairs! How brave they'\''ll all think me at home! Why, I wouldn'\''t say anything about it, even if I fell off the top of the house!'\'' (Which was very likely true.) Down, down, down. Would the fall never come to an end! `I wonder how many miles I'\''ve fallen by this time?'\'' she said aloud. `I must be getting somewhere near the centre of the earth. Let me see: that would be four thousand miles down, I think--'\'' (for, you see, Alice had learnt several things of this sort in her lessons in the schoolroom, and though this was not a very good opportunity for showing off her knowledge, as there was no one to listen to her, still it was good practice to say it over) `--yes, that'\''s about the right distance--but then I wonder what Latitude or Longitude I'\''ve got to?'\'' (Alice had no idea what Latitude was, or Longitude either, but thought they were nice grand words to say.) Presently she began again. `I wonder if I shall fall right through the earth! How funny it'\''ll seem to come out among the people that walk with their heads downward! The Antipathies, I think--'\'' (she was rather glad there was no one listening, this time, as it didn'\''t sound at all the right word) `--but I shall have to ask them what the name of the country is, you know. Please, Ma'\''am, is this New Zealand or Australia?'\'' (and she tried to curtsey as she spoke--fancy curtseying as you'\''re falling through the air! Do you think you could manage it?) `And what an ignorant little girl she'\''ll think me for asking! No, it'\''ll never do to ask: perhaps I shall see it written up somewhere.'\'' Down, down, down. There was nothing else to do, so Alice soon began talking again. `Dinah'\''ll miss me very much to-night, I should think!'\'' (Dinah was the cat.) `I hope they'\''ll remember her saucer of milk at tea-time. Dinah my dear! I wish you were down here with me! There are no mice in the air, I'\''m afraid, but you might catch a bat, and that'\''s very like a mouse, you know. But do cats eat bats, I wonder?'\'' And here Alice began to get rather sleepy, and went on saying to herself, in a dreamy sort of way, `Do cats eat bats? Do cats eat bats?'\'' and sometimes, `Do bats eat cats?'\'' for, you see, as she couldn'\''t answer either question, it didn'\''t much matter which way she put it. She felt that she was dozing off, and had just begun to dream that she was walking hand in hand with Dinah, and saying to her very earnestly, `Now, Dinah, tell me the truth: did you ever eat a bat?'\'' when suddenly, thump! thump! down she came upon a heap of sticks and dry leaves, and the fall was over. ",
"return_tokens": "false",
"return_chunks": "true",
"max_chunk_length":100
}'
Responses
🟢200成功
application/json
Body
object {0}
Example
{}
Modified at 2024-12-06 08:24:51