Skip to content
Source
Sign inSign up
TanStack/schemas
Open History to see the last commit

replicate-models.json

1,235 lines45.6 KB

1[
2 {
3 "owner": "replicate",
4 "name": "fast-flux-trainer",
5 "description": "Train subjects or styles faster than ever",
6 "visibility": "public",
7 "is_official": false,
8 "created_at": "2025-05-16T00:37:16.915460Z",
9 "latest_version": {
10 "openapi_schema": {
11 "components": {
12 "schemas": {
13 "Input": {
14 "type": "object",
15 "title": "Input",
16 "required": ["replicate_weights", "txt"],
17 "properties": {
18 "txt": {
19 "type": "string",
20 "title": "Txt",
21 "x-order": 1,
22 "description": "some words"
23 },
24 "replicate_weights": {
25 "type": "string",
26 "title": "Replicate Weights",
27 "format": "uri",
28 "x-order": 0,
29 "description": "replicate weights"
30 }
31 }
32 },
33 "Output": {
34 "type": "string",
35 "title": "Output"
36 },
37 "lora_type": {
38 "enum": ["subject", "style"],
39 "type": "string",
40 "title": "lora_type",
41 "description": "An enumeration."
42 },
43 "TrainingInput": {
44 "type": "object",
45 "title": "TrainingInput",
46 "properties": {
47 "seed": {
48 "type": "integer",
49 "title": "Seed",
50 "default": null,
51 "x-order": 4,
52 "nullable": true,
53 "description": "The seed for the random number generator. This is used to ensure that the same lora weights are used for the same input images. If you want to train the same input images multiple times, you should use the same seed each time."
54 },
55 "hf_token": {
56 "type": "string",
57 "title": "Hf Token",
58 "format": "password",
59 "default": null,
60 "x-order": 6,
61 "nullable": true,
62 "writeOnly": true,
63 "description": "Hugging Face access token for uploading. Leave blank to skip upload.",
64 "x-cog-secret": true
65 },
66 "lora_type": {
67 "allOf": [
68 {
69 "$ref": "#/components/schemas/lora_type"
70 }
71 ],
72 "default": "subject",
73 "x-order": 3,
74 "description": "Are your images of a particular subject (i.e. a person, dog, or other object), or do they convey a style (i.e. cyberpunk, anime, etc)?"
75 },
76 "hf_repo_id": {
77 "type": "string",
78 "title": "Hf Repo Id",
79 "default": null,
80 "x-order": 5,
81 "nullable": true,
82 "description": "Hugging Face repo name (e.g. user/model) to upload the LoRA weights. Leave blank to skip upload."
83 },
84 "input_images": {
85 "type": "string",
86 "title": "Input Images",
87 "format": "uri",
88 "default": null,
89 "x-order": 0,
90 "nullable": true,
91 "description": "A zip file containing the images that will be used for training. We recommend a minimum of 10 images. If you include captions, include them as one .txt file per image, e.g. my-photo.jpg should have a caption file named my-photo.txt. If you don't include captions, we will generate them for you."
92 },
93 "trigger_word": {
94 "type": "string",
95 "title": "Trigger Word",
96 "default": "TOK",
97 "x-order": 1,
98 "description": "The trigger word refers to the object, style or concept you are training on. Pick a string that isn't a real word, like TOK or something related to what's being trained, like CYBRPNK. The trigger word you specify here will be associated with all images during training. Then when you use your LoRA, you can include the trigger word in prompts to help activate the LoRA."
99 },
100 "training_steps": {
101 "type": "integer",
102 "title": "Training Steps",
103 "default": 1000,
104 "x-order": 2,
105 "description": "The number of training steps. Leave alone unless you know what you're doing. This is an integer."
106 }
107 }
108 },
109 "TrainingOutput": {
110 "type": "object",
111 "title": "Output",
112 "required": ["weights"],
113 "properties": {
114 "weights": {
115 "type": "string",
116 "title": "Weights",
117 "format": "uri"
118 },
119 "validation_images": {
120 "type": "array",
121 "items": {
122 "type": "string",
123 "format": "uri"
124 },
125 "title": "Validation Images",
126 "nullable": true
127 }
128 }
129 },
130 "TrainingRequest": {
131 "type": "object",
132 "title": "TrainingRequest",
133 "properties": {
134 "id": {
135 "type": "string",
136 "title": "Id"
137 },
138 "input": {
139 "$ref": "#/components/schemas/TrainingInput"
140 }
141 }
142 },
143 "TrainingResponse": {
144 "type": "object",
145 "title": "TrainingResponse",
146 "properties": {
147 "id": {
148 "type": "string",
149 "title": "Id"
150 },
151 "logs": {
152 "type": "string",
153 "title": "Logs"
154 },
155 "error": {
156 "type": "string",
157 "title": "Error"
158 },
159 "input": {
160 "$ref": "#/components/schemas/TrainingInput"
161 },
162 "output": {
163 "$ref": "#/components/schemas/TrainingOutput"
164 },
165 "status": {
166 "type": "string",
167 "title": "Status"
168 },
169 "metrics": {
170 "type": "object",
171 "title": "Metrics"
172 },
173 "version": {
174 "type": "string",
175 "title": "Version"
176 },
177 "created_at": {
178 "type": "string",
179 "title": "Created At",
180 "format": "date-time"
181 },
182 "started_at": {
183 "type": "string",
184 "title": "Started At",
185 "format": "date-time"
186 },
187 "completed_at": {
188 "type": "string",
189 "title": "Completed At",
190 "format": "date-time"
191 }
192 }
193 }
194 }
195 }
196 }
197 }
198 },
199 {
200 "owner": "meta",
201 "name": "llama-4-maverick-instruct",
202 "description": "A 17 billion parameter model with 128 experts",
203 "visibility": "public",
204 "is_official": true,
205 "created_at": "2025-04-05T22:52:08.124556Z",
206 "latest_version": {
207 "openapi_schema": {
208 "components": {
209 "schemas": {
210 "Input": {
211 "type": "object",
212 "title": "Input",
213 "properties": {
214 "top_k": {
215 "type": "integer",
216 "title": "Top K",
217 "default": 50,
218 "x-order": 6,
219 "description": "The number of highest probability tokens to consider for generating the output. If > 0, only keep the top k tokens with highest probability (top-k filtering)."
220 },
221 "top_p": {
222 "type": "number",
223 "title": "Top P",
224 "default": 0.9,
225 "x-order": 5,
226 "description": "A probability threshold for generating the output. If < 1.0, only keep the top tokens with cumulative probability >= top_p (nucleus filtering). Nucleus filtering is described in Holtzman et al. (http://arxiv.org/abs/1904.09751)."
227 },
228 "prompt": {
229 "type": "string",
230 "title": "Prompt",
231 "default": "",
232 "x-order": 0,
233 "description": "Prompt"
234 },
235 "max_tokens": {
236 "type": "integer",
237 "title": "Max Tokens",
238 "default": 4096,
239 "maximum": 131072,
240 "minimum": 0,
241 "x-order": 3,
242 "description": "The maximum number of tokens the model should generate as output."
243 },
244 "min_tokens": {
245 "type": "integer",
246 "title": "Min Tokens",
247 "default": 0,
248 "x-order": 2,
249 "description": "The minimum number of tokens the model should generate as output."
250 },
251 "temperature": {
252 "type": "number",
253 "title": "Temperature",
254 "default": 0.6,
255 "x-order": 4,
256 "description": "The value used to modulate the next token probabilities."
257 },
258 "system_prompt": {
259 "type": "string",
260 "title": "System Prompt",
261 "default": "You are a helpful assistant.",
262 "x-order": 1,
263 "description": "System prompt to send to the model. This is prepended to the prompt and helps guide system behavior. Ignored for non-chat models."
264 },
265 "stop_sequences": {
266 "type": "string",
267 "title": "Stop Sequences",
268 "default": "",
269 "x-order": 9,
270 "description": "A comma-separated list of sequences to stop generation at. For example, '<end>,<stop>' will stop generation at the first instance of 'end' or '<stop>'."
271 },
272 "prompt_template": {
273 "type": "string",
274 "title": "Prompt Template",
275 "default": "",
276 "x-order": 10,
277 "description": "A template to format the prompt with. If not provided, the default prompt template will be used."
278 },
279 "presence_penalty": {
280 "type": "number",
281 "title": "Presence Penalty",
282 "default": 0,
283 "x-order": 7,
284 "description": "Presence penalty"
285 },
286 "frequency_penalty": {
287 "type": "number",
288 "title": "Frequency Penalty",
289 "default": 0,
290 "x-order": 8,
291 "description": "Frequency penalty"
292 }
293 }
294 },
295 "Output": {
296 "type": "array",
297 "items": {
298 "type": "string"
299 },
300 "title": "Output",
301 "x-cog-array-type": "iterator",
302 "x-cog-array-display": "concatenate"
303 }
304 }
305 }
306 }
307 }
308 },
309 {
310 "owner": "meta",
311 "name": "llama-guard-4-12b",
312 "description": null,
313 "visibility": "public",
314 "is_official": true,
315 "created_at": "2025-06-23T20:57:12.658042Z",
316 "latest_version": {
317 "openapi_schema": {
318 "components": {
319 "schemas": {
320 "Input": {
321 "type": "object",
322 "title": "Input",
323 "required": ["prompt", "system_prompt"],
324 "properties": {
325 "top_p": {
326 "type": "number",
327 "title": "Top P",
328 "default": 1,
329 "maximum": 1,
330 "minimum": 0,
331 "x-order": 5,
332 "description": "Nucleus sampling parameter - the model considers the results of the tokens with top_p probability mass. (0.1 means only the tokens comprising the top 10% probability mass are considered.)"
333 },
334 "prompt": {
335 "type": "string",
336 "title": "Prompt",
337 "x-order": 0,
338 "description": "The prompt to send to the model. Do not use if using messages."
339 },
340 "image_input": {
341 "type": "array",
342 "items": {
343 "type": "string"
344 },
345 "title": "Image Input",
346 "default": [],
347 "x-order": 2,
348 "description": "List of images to send to the model"
349 },
350 "temperature": {
351 "type": "number",
352 "title": "Temperature",
353 "default": 1,
354 "maximum": 2,
355 "minimum": 0,
356 "x-order": 3,
357 "description": "Sampling temperature between 0 and 2"
358 },
359 "system_prompt": {
360 "type": "string",
361 "title": "System Prompt",
362 "x-order": 1,
363 "description": "System prompt to set the assistant's behavior"
364 },
365 "presence_penalty": {
366 "type": "number",
367 "title": "Presence Penalty",
368 "default": 0,
369 "maximum": 2,
370 "minimum": -2,
371 "x-order": 7,
372 "description": "Presence penalty parameter - positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics."
373 },
374 "frequency_penalty": {
375 "type": "number",
376 "title": "Frequency Penalty",
377 "default": 0,
378 "maximum": 2,
379 "minimum": -2,
380 "x-order": 6,
381 "description": "Frequency penalty parameter - positive values penalize the repetition of tokens."
382 },
383 "max_completion_tokens": {
384 "type": "integer",
385 "title": "Max Completion Tokens",
386 "default": 512,
387 "maximum": 1024,
388 "minimum": 1,
389 "x-order": 4,
390 "description": "Maximum number of completion tokens to generate"
391 }
392 }
393 },
394 "Output": {
395 "type": "array",
396 "items": {
397 "type": "string"
398 },
399 "title": "Output",
400 "x-cog-array-type": "iterator",
401 "x-cog-array-display": "concatenate"
402 }
403 }
404 }
405 }
406 }
407 },
408 {
409 "owner": "ibm-granite",
410 "name": "granite-embedding-small-english-r2",
411 "description": "Granite-embedding-small-english-r2 is a 47M parameter dense biencoder embedding model from the Granite Embeddings collection that can be used to generate high quality text embeddings.",
412 "visibility": "public",
413 "is_official": true,
414 "created_at": "2026-04-23T19:54:11.770951Z",
415 "latest_version": {
416 "openapi_schema": {
417 "components": {
418 "schemas": {
419 "Input": {
420 "type": "object",
421 "title": "Input",
422 "properties": {
423 "texts": {
424 "type": "array",
425 "items": {
426 "type": "string"
427 },
428 "title": "Texts",
429 "default": [],
430 "x-order": 0,
431 "description": "A list of text strings to embed."
432 },
433 "normalize": {
434 "type": "boolean",
435 "title": "Normalize",
436 "default": true,
437 "x-order": 1,
438 "description": "Normalize the embeddings."
439 }
440 }
441 },
442 "Output": {
443 "type": "array",
444 "items": {
445 "type": "object"
446 },
447 "title": "Output"
448 }
449 }
450 }
451 }
452 }
453 },
454 {
455 "owner": "deepseek-ai",
456 "name": "deepseek-v3.1",
457 "description": "Latest hybrid thinking model from Deepseek",
458 "visibility": "public",
459 "is_official": true,
460 "created_at": "2025-08-25T18:41:12.219732Z",
461 "latest_version": {
462 "openapi_schema": {
463 "components": {
464 "schemas": {
465 "Input": {
466 "type": "object",
467 "title": "Input",
468 "properties": {
469 "top_p": {
470 "type": "number",
471 "title": "Top P",
472 "default": 1,
473 "x-order": 4,
474 "description": "Top-p (nucleus) sampling"
475 },
476 "prompt": {
477 "type": "string",
478 "title": "Prompt",
479 "default": "Why are you better than Deepseek v3?",
480 "x-order": 1,
481 "description": "Prompt"
482 },
483 "thinking": {
484 "allOf": [
485 {
486 "$ref": "#/components/schemas/thinking"
487 }
488 ],
489 "default": "None",
490 "x-order": 0,
491 "description": "Reasoning effort level for DeepSeek models. Use 'medium' for enhanced reasoning or leave as None for default behavior."
492 },
493 "max_tokens": {
494 "type": "integer",
495 "title": "Max Tokens",
496 "default": 1024,
497 "x-order": 2,
498 "description": "The maximum number of tokens the model should generate as output."
499 },
500 "temperature": {
501 "type": "number",
502 "title": "Temperature",
503 "default": 0.1,
504 "x-order": 3,
505 "description": "The value used to modulate the next token probabilities."
506 },
507 "presence_penalty": {
508 "type": "number",
509 "title": "Presence Penalty",
510 "default": 0,
511 "x-order": 5,
512 "description": "Presence penalty"
513 },
514 "frequency_penalty": {
515 "type": "number",
516 "title": "Frequency Penalty",
517 "default": 0,
518 "x-order": 6,
519 "description": "Frequency penalty"
520 }
521 }
522 },
523 "Output": {
524 "type": "array",
525 "items": {
526 "type": "string"
527 },
528 "title": "Output",
529 "x-cog-array-type": "iterator",
530 "x-cog-array-display": "concatenate"
531 },
532 "thinking": {
533 "enum": ["medium", "None"],
534 "type": "string",
535 "title": "thinking",
536 "description": "An enumeration."
537 }
538 }
539 }
540 }
541 }
542 },
543 {
544 "owner": "google",
545 "name": "gemini-3-flash",
546 "description": "Google's most intelligent model built for speed with frontier intelligence, superior search, and grounding",
547 "visibility": "public",
548 "is_official": true,
549 "created_at": "2026-01-26T20:21:37.491629Z",
550 "latest_version": {
551 "openapi_schema": {
552 "components": {
553 "schemas": {
554 "Input": {
555 "type": "object",
556 "title": "Input",
557 "required": ["prompt"],
558 "properties": {
559 "audio": {
560 "type": "string",
561 "title": "Audio",
562 "format": "uri",
563 "default": null,
564 "x-order": 4,
565 "nullable": true,
566 "description": "Input audio to send with the prompt (max 1 audio file, up to 8.4 hours)"
567 },
568 "top_p": {
569 "type": "number",
570 "title": "Top P",
571 "default": 0.95,
572 "maximum": 1,
573 "minimum": 0,
574 "x-order": 8,
575 "description": "Nucleus sampling parameter - the model considers the results of the tokens with top_p probability mass"
576 },
577 "images": {
578 "type": "array",
579 "items": {
580 "type": "string",
581 "format": "uri"
582 },
583 "title": "Images",
584 "default": [],
585 "x-order": 1,
586 "description": "Input images to send with the prompt (max 10 images, each up to 7MB)"
587 },
588 "prompt": {
589 "type": "string",
590 "title": "Prompt",
591 "x-order": 0,
592 "description": "The text prompt to send to the model"
593 },
594 "videos": {
595 "type": "array",
596 "items": {
597 "type": "string",
598 "format": "uri"
599 },
600 "title": "Videos",
601 "default": [],
602 "x-order": 2,
603 "description": "Input videos to send with the prompt (max 10 videos, each up to 45 minutes)"
604 },
605 "video_fps": {
606 "type": "number",
607 "title": "Video Fps",
608 "default": null,
609 "maximum": 60,
610 "minimum": 0.1,
611 "x-order": 3,
612 "nullable": true,
613 "description": "Frame rate (frames per second) at which to sample input videos. Higher values give the model more frames to reason over (useful for fast-moving footage) but consume more tokens. Omit to use the default sampling rate (1 fps)."
614 },
615 "temperature": {
616 "type": "number",
617 "title": "Temperature",
618 "default": 1,
619 "maximum": 2,
620 "minimum": 0,
621 "x-order": 7,
622 "description": "Sampling temperature between 0 and 2"
623 },
624 "thinking_level": {
625 "allOf": [
626 {
627 "$ref": "#/components/schemas/thinking_level"
628 }
629 ],
630 "default": "none",
631 "x-order": 6,
632 "nullable": true,
633 "description": "Thinking level for reasoning (low or high). Replaces thinking_budget for Gemini 3 models."
634 },
635 "max_output_tokens": {
636 "type": "integer",
637 "title": "Max Output Tokens",
638 "default": 65535,
639 "maximum": 65535,
640 "minimum": 1,
641 "x-order": 9,
642 "description": "Maximum number of tokens to generate"
643 },
644 "system_instruction": {
645 "type": "string",
646 "title": "System Instruction",
647 "default": null,
648 "x-order": 5,
649 "nullable": true,
650 "description": "System instruction to guide the model's behavior"
651 }
652 }
653 },
654 "Output": {
655 "type": "array",
656 "items": {
657 "type": "string"
658 },
659 "title": "Output",
660 "x-cog-array-type": "iterator",
661 "x-cog-array-display": "concatenate"
662 },
663 "thinking_level": {
664 "enum": ["none", "low", "high"],
665 "type": "string",
666 "title": "thinking_level",
667 "description": "An enumeration."
668 }
669 }
670 }
671 }
672 }
673 },
674 {
675 "owner": "openai",
676 "name": "gpt-5.4",
677 "description": "OpenAI's most capable frontier model for complex professional work, coding, and multi-step reasoning.",
678 "visibility": "public",
679 "is_official": true,
680 "created_at": "2026-03-05T20:03:24.763570Z",
681 "latest_version": {
682 "openapi_schema": {
683 "components": {
684 "schemas": {
685 "Input": {
686 "type": "object",
687 "title": "Input",
688 "properties": {
689 "prompt": {
690 "type": "string",
691 "title": "Prompt",
692 "x-order": 0,
693 "nullable": true,
694 "description": "The prompt to send to the model. Do not use if using messages."
695 },
696 "messages": {
697 "type": "array",
698 "items": {
699 "type": "object"
700 },
701 "title": "Messages",
702 "default": [],
703 "x-order": 2,
704 "description": "A JSON string representing a list of messages. For example: [{\"role\": \"user\", \"content\": \"Hello, how are you?\"}]. If provided, prompt and system_prompt are ignored."
705 },
706 "verbosity": {
707 "allOf": [
708 {
709 "$ref": "#/components/schemas/verbosity"
710 }
711 ],
712 "default": "medium",
713 "x-order": 5,
714 "description": "Constrains the verbosity of the model's response. Lower values will result in more concise responses, while higher values will result in more verbose responses. Currently supported values are low, medium, and high. GPT-5 supports this parameter to help control whether answers are short and to the point or long and comprehensive."
715 },
716 "image_input": {
717 "type": "array",
718 "items": {
719 "type": "string",
720 "format": "uri"
721 },
722 "title": "Image Input",
723 "default": [],
724 "x-order": 3,
725 "description": "List of images to send to the model"
726 },
727 "system_prompt": {
728 "type": "string",
729 "title": "System Prompt",
730 "x-order": 1,
731 "nullable": true,
732 "description": "System prompt to set the assistant's behavior"
733 },
734 "reasoning_effort": {
735 "allOf": [
736 {
737 "$ref": "#/components/schemas/reasoning_effort"
738 }
739 ],
740 "default": "none",
741 "x-order": 4,
742 "description": "Constrains effort on reasoning for GPT-5.4. Supported values are none, low, medium, high, and xhigh. The default none provides fast, low-latency responses similar to GPT-4.1 in speed. Higher reasoning efforts produce more thorough answers but use more tokens and take longer. For higher reasoning efforts you may need to increase your max_completion_tokens to avoid empty responses (where all the tokens are used on reasoning)."
743 },
744 "max_completion_tokens": {
745 "type": "integer",
746 "title": "Max Completion Tokens",
747 "x-order": 6,
748 "nullable": true,
749 "description": "Maximum number of completion tokens to generate. For higher reasoning efforts you may need to increase your max_completion_tokens to avoid empty responses (where all the tokens are used on reasoning)."
750 }
751 }
752 },
753 "Output": {
754 "type": "array",
755 "items": {
756 "type": "string"
757 },
758 "title": "Output",
759 "x-cog-array-type": "iterator",
760 "x-cog-array-display": "concatenate"
761 },
762 "verbosity": {
763 "enum": ["low", "medium", "high"],
764 "type": "string",
765 "title": "verbosity",
766 "description": "An enumeration."
767 },
768 "reasoning_effort": {
769 "enum": ["none", "low", "medium", "high", "xhigh"],
770 "type": "string",
771 "title": "reasoning_effort",
772 "description": "An enumeration."
773 }
774 }
775 }
776 }
777 }
778 },
779 {
780 "owner": "prunaai",
781 "name": "gpt-oss-120b-fast",
782 "description": "This is a version of GPT-OSS-120B that is optimised by Pruna AI.",
783 "visibility": "public",
784 "is_official": false,
785 "created_at": "2026-02-09T08:52:42.394910Z",
786 "latest_version": {
787 "openapi_schema": {
788 "components": {
789 "schemas": {
790 "Input": {
791 "type": "object",
792 "title": "Input",
793 "properties": {
794 "top_p": {
795 "type": "number",
796 "title": "Top P",
797 "default": 0.95,
798 "maximum": 1,
799 "minimum": 0,
800 "x-order": 4,
801 "description": "Nucleus sampling: only consider tokens with cumulative probability up to this value"
802 },
803 "message": {
804 "type": "string",
805 "title": "Message",
806 "default": "Explain vLLM in one sentence",
807 "x-order": 0,
808 "description": "The user message to send to the model"
809 },
810 "max_tokens": {
811 "type": "integer",
812 "title": "Max Tokens",
813 "default": 2048,
814 "maximum": 16384,
815 "minimum": 1,
816 "x-order": 2,
817 "description": "Maximum number of tokens to generate"
818 },
819 "temperature": {
820 "type": "number",
821 "title": "Temperature",
822 "default": 0.7,
823 "maximum": 2,
824 "minimum": 0,
825 "x-order": 3,
826 "description": "Sampling temperature (higher = more creative, lower = more deterministic)"
827 },
828 "system_prompt": {
829 "type": "string",
830 "title": "System Prompt",
831 "x-order": 1,
832 "nullable": true,
833 "description": "Optional system prompt to set the model's behavior"
834 }
835 }
836 },
837 "Output": {
838 "type": "array",
839 "items": {
840 "type": "string"
841 },
842 "title": "Output",
843 "x-cog-array-type": "iterator",
844 "x-cog-array-display": "concatenate"
845 }
846 }
847 }
848 }
849 }
850 },
851 {
852 "owner": "alibaba",
853 "name": "qwen-image-3",
854 "description": "Qwen-Image-3.0 generates and edits images with accurate text rendering, complex layouts, and photographic detail.",
855 "visibility": "public",
856 "is_official": true,
857 "created_at": "2026-08-21T00:31:47.801504Z",
858 "latest_version": {
859 "openapi_schema": {
860 "components": {
861 "schemas": {
862 "Input": {
863 "type": "object",
864 "title": "Input",
865 "required": ["prompt"],
866 "properties": {
867 "seed": {
868 "type": "integer",
869 "title": "Seed",
870 "default": null,
871 "x-order": 6,
872 "nullable": true,
873 "description": "Random seed for reproducible generation. Range: 0-2147483647"
874 },
875 "image": {
876 "type": "string",
877 "title": "Image",
878 "format": "uri",
879 "default": null,
880 "x-order": 1,
881 "nullable": true,
882 "description": "Optional reference image for image editing, style transfer, or image-to-image generation"
883 },
884 "prompt": {
885 "type": "string",
886 "title": "Prompt",
887 "x-order": 0,
888 "description": "Text prompt for image generation or editing"
889 },
890 "aspect_ratio": {
891 "allOf": [
892 {
893 "$ref": "#/components/schemas/aspect_ratio"
894 }
895 ],
896 "default": "1:1",
897 "x-order": 3,
898 "description": "Aspect ratio of the generated image"
899 },
900 "negative_prompt": {
901 "type": "string",
902 "title": "Negative Prompt",
903 "default": "",
904 "x-order": 5,
905 "description": "Negative prompt to specify elements to avoid in the generated image"
906 },
907 "match_input_image": {
908 "type": "boolean",
909 "title": "Match Input Image",
910 "default": false,
911 "x-order": 2,
912 "description": "When true and an image is provided, use the input image's aspect ratio and resolution instead of the aspect_ratio parameter"
913 },
914 "enable_prompt_expansion": {
915 "type": "boolean",
916 "title": "Enable Prompt Expansion",
917 "default": true,
918 "x-order": 4,
919 "description": "Automatically expand and optimize the prompt for better results"
920 }
921 }
922 },
923 "Output": {
924 "type": "string",
925 "title": "Output",
926 "format": "uri"
927 },
928 "aspect_ratio": {
929 "enum": [
930 "1:1",
931 "16:9",
932 "9:16",
933 "4:3",
934 "3:4",
935 "3:2",
936 "2:3",
937 "2:1",
938 "1:2"
939 ],
940 "type": "string",
941 "title": "aspect_ratio",
942 "description": "An enumeration."
943 }
944 }
945 }
946 }
947 }
948 },
949 {
950 "owner": "anthropic",
951 "name": "claude-sonnet-5",
952 "description": "Anthropic's most agentic Sonnet model, bringing frontier-level coding and tool use at Sonnet's speed and price",
953 "visibility": "public",
954 "is_official": true,
955 "created_at": "2026-07-24T15:03:19.778306Z",
956 "latest_version": {
957 "openapi_schema": {
958 "components": {
959 "schemas": {
960 "Input": {
961 "type": "object",
962 "title": "Input",
963 "required": ["prompt"],
964 "properties": {
965 "image": {
966 "type": "string",
967 "title": "Image",
968 "format": "uri",
969 "default": null,
970 "x-order": 1,
971 "nullable": true,
972 "description": "Optional input image. Images are priced as (width px * height px)/750 input tokens"
973 },
974 "effort": {
975 "allOf": [
976 {
977 "$ref": "#/components/schemas/effort"
978 }
979 ],
980 "default": "low",
981 "x-order": 4,
982 "description": "How much thinking Claude does before responding. Higher effort improves quality on hard coding and agentic tasks, but is slower and uses more output tokens. 'low' disables thinking for the fastest, cheapest responses."
983 },
984 "prompt": {
985 "type": "string",
986 "title": "Prompt",
987 "x-order": 0,
988 "description": "Input prompt"
989 },
990 "max_tokens": {
991 "type": "integer",
992 "title": "Max Tokens",
993 "default": 8192,
994 "maximum": 64000,
995 "minimum": 1024,
996 "x-order": 3,
997 "description": "Maximum number of output tokens"
998 },
999 "system_prompt": {
1000 "type": "string",
1001 "title": "System Prompt",
1002 "default": "",
1003 "x-order": 2,
1004 "description": "System prompt"
1005 },
1006 "max_image_resolution": {
1007 "type": "number",
1008 "title": "Max Image Resolution",
1009 "default": 0.5,
1010 "maximum": 2,
1011 "minimum": 0.001,
1012 "x-order": 5,
1013 "description": "Maximum image resolution in megapixels. Scales down image before sending it to Claude, to save time and money."
1016 },
1017 "Output": {
1018 "type": "array",
1019 "items": {
1020 "type": "string"
1021 },
1022 "title": "Output",
1023 "x-cog-array-type": "iterator",
1024 "x-cog-array-display": "concatenate"
1025 },
1026 "effort": {
1027 "enum": ["low", "medium", "high", "xhigh", "max"],
1028 "type": "string",
1029 "title": "effort",
1030 "description": "An enumeration."
1036 },
1038 "owner": "ibm-granite",
1039 "name": "granite-4.1-8b",
1040 "description": "Granite-4.1-8B is a 8B parameter long-context instruct model finetuned from Granite-4.1-8B-Base using a combination of open source instruction datasets with permissive license and internally collected synthetic datasets.",
1041 "visibility": "public",
1042 "is_official": true,
1043 "created_at": "2026-04-22T18:15:20.118515Z",
1044 "latest_version": {
1045 "openapi_schema": {
1046 "components": {
1047 "schemas": {
1048 "Input": {
1049 "type": "object",
1050 "title": "Input",
1051 "properties": {
1052 "seed": {
1053 "type": "integer",
1054 "title": "Seed",
1055 "x-order": 20,
1056 "nullable": true,
1057 "description": "Random seed. Leave unspecified to randomize the seed."
1058 },
1059 "stop": {
1060 "type": "array",
1061 "items": {
1062 "type": "string"
1063 },
1064 "title": "Stop",
1065 "x-order": 19,
1066 "nullable": true,
1067 "description": "A list of sequences to stop generation at. For example, [\"<end>\",\"<stop>\"] will stop generation at the first instance of \"<end>\" or \"<stop>\"."
1068 },
1069 "tools": {
1070 "type": "array",
1071 "items": {
1072 "type": "object"
1073 },
1074 "title": "Tools",
1075 "x-order": 3,
1076 "nullable": true,
1077 "description": "Tools for request. Passed to the chat template."
1078 },
1079 "top_k": {
1080 "type": "integer",
1081 "title": "Top K",
1082 "x-order": 15,
1083 "nullable": true,
1084 "description": "The number of highest probability tokens to consider for generating the output. If > 0, only keep the top k tokens with highest probability (top-k filtering)."
1085 },
1086 "top_p": {
1087 "type": "number",
1088 "title": "Top P",
1089 "x-order": 14,
1090 "nullable": true,
1091 "description": "A probability threshold for generating the output. If < 1.0, only keep the top tokens with cumulative probability >= top_p (nucleus filtering). Nucleus filtering is described in Holtzman et al. (http://arxiv.org/abs/1904.09751)."
1092 },
1093 "prompt": {
1094 "type": "string",
1095 "title": "Prompt",
1096 "x-order": 0,
1097 "nullable": true,
1098 "description": "Completion API user prompt."
1099 },
1100 "stream": {
1101 "type": "boolean",
1102 "title": "Stream",
1103 "x-order": 21,
1104 "nullable": true,
1105 "description": "Request streaming response."
1106 },
1107 "messages": {
1108 "type": "array",
1109 "items": {
1110 "type": "object"
1111 },
1112 "title": "Messages",
1113 "x-order": 1,
1114 "nullable": true,
1115 "description": "Chat completion API messages."
1116 },
1117 "documents": {
1118 "type": "array",
1119 "items": {
1120 "type": "object"
1121 },
1122 "title": "Documents",
1123 "x-order": 2,
1124 "nullable": true,
1125 "description": "Documents for request. Passed to the chat template."
1126 },
1127 "max_tokens": {
1128 "type": "integer",
1129 "title": "Max Tokens",
1130 "x-order": 11,
1131 "nullable": true,
1132 "deprecated": true,
1133 "description": "max_tokens is deprecated in favor of the max_completion_tokens field."
1134 },
1135 "min_tokens": {
1136 "type": "integer",
1137 "title": "Min Tokens",
1138 "default": 0,
1139 "x-order": 10,
1140 "description": "The minimum number of tokens the model should generate as output."
1141 },
1142 "temperature": {
1143 "type": "number",
1144 "title": "Temperature",
1145 "x-order": 13,
1146 "nullable": true,
1147 "description": "The value used to modulate the next token probabilities."
1148 },
1149 "tool_choice": {
1150 "type": "string",
1151 "title": "Tool Choice",
1152 "x-order": 4,
1153 "nullable": true,
1154 "description": "Tool choice for request. If the choice is a specific function, this should be specified as a JSON string."
1155 },
1156 "chat_template": {
1157 "type": "string",
1158 "title": "Chat Template",
1159 "x-order": 7,
1160 "nullable": true,
1161 "description": "A template to format the prompt with. If not specified, the chat template provided by the model will be used."
1162 },
1163 "system_prompt": {
1164 "type": "string",
1165 "title": "System Prompt",
1166 "x-order": 6,
1167 "nullable": true,
1168 "description": "Completion API system prompt. The chat template provides a good default."
1169 },
1170 "response_format": {
1171 "type": "object",
1172 "title": "Response Format",
1173 "x-order": 5,
1174 "nullable": true,
1175 "description": "An object specifying the format that the model must output."
1176 },
1177 "presence_penalty": {
1178 "type": "number",
1179 "title": "Presence Penalty",
1180 "x-order": 16,
1181 "nullable": true,
1182 "description": "Presence penalty"
1183 },
1184 "frequency_penalty": {
1185 "type": "number",
1186 "title": "Frequency Penalty",
1187 "x-order": 17,
1188 "nullable": true,
1189 "description": "Frequency penalty"
1190 },
1191 "repetition_penalty": {
1192 "type": "number",
1193 "title": "Repetition Penalty",
1194 "x-order": 18,
1195 "nullable": true,
1196 "description": "Repetition penalty"
1197 },
1198 "chat_template_kwargs": {
1199 "type": "object",
1200 "title": "Chat Template Kwargs",
1201 "x-order": 9,
1202 "nullable": true,
1203 "description": "Additional arguments to be passed to the chat template."
1204 },
1205 "add_generation_prompt": {
1206 "type": "boolean",
1207 "title": "Add Generation Prompt",
1208 "default": true,
1209 "x-order": 8,
1210 "description": "Add generation prompt. Passed to the chat template. Defaults to True."
1211 },
1212 "max_completion_tokens": {
1213 "type": "integer",
1214 "title": "Max Completion Tokens",
1215 "x-order": 12,
1216 "nullable": true,
1217 "description": "An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens."
1220 },
1221 "Output": {
1222 "type": "array",
1223 "items": {
1224 "type": "string"
1225 },
1226 "title": "Output",
1227 "x-cog-array-type": "iterator",
1228 "x-cog-array-display": "concatenate"