| docker run -p 8000:8000 --rm ` | |
| public.ecr.aws/landing-ai/deploy:latest ` | |
| run-model-id -k YOUR_API_KEY -m YOUR_MODEL_ID | |
| curl.exe -X POST ` | |
| -H "Content-Type: multipart/form-data" ` | |
| -F "file=@./input_image.jpg" ` | |
| http://localhost:8000/images | |
| docker run -p 8000:8000 --rm \ | |
| public.ecr.aws/landing-ai/deploy:latest \ | |
| run-model-id -k YOUR_API_KEY -m YOUR_MODEL_ID | |
| curl -X 'POST' \ | |
| -H 'Content-Type: multipart/form-data' \ | |
| -F 'file=@./input_image.jpg' \ | |
| 'http://localhost:8000/images' | |
| docker run -p 8000:8000 --rm \ | |
| public.ecr.aws/landing-ai/deploy:latest \ | |
| run-model-id -k YOUR_API_KEY -m YOUR_MODEL_ID | |
| curl -X 'POST' \ | |
| -H 'Content-Type: multipart/form-data' \ | |
| -F 'file=@./input_image.jpg' \ | |
| 'http://localhost:8000/images' | |
| https://gallery.ecr.aws/landing-ai/deploy | |
| from PIL import Image | |
| from landingai.predict import Predictor | |
| # Enter your API Key | |
| endpoint_id = "6e0e1994-8b4a-40cb-a559-d23f9e7de710" | |
| api_key = "YOUR_API_KEY" | |
| # Load your image | |
| image = Image.open("image.png") | |
| # Run inference | |
| predictor = Predictor(endpoint_id, api_key=api_key) | |
| predictions = predictor.predict(image) | |
| import React from 'react'; | |
| import { useState } from "react"; | |
| import { InferenceContext, InferenceResult, PhotoCollector } from "landingai-react"; | |
| const apiInfo = { | |
| endpoint: "https://predict.app.landing.ai/inference/v1/predict?endpoint_id=6e0e1994-8b4a-40cb-a559-d23f9e7de710", | |
| key: "YOUR_API_KEY", | |
| }; | |
| export default function App() { | |
| const [image, setImage] = useState(); | |
| return ( | |
| <InferenceContext.Provider value={apiInfo}> | |
| <PhotoCollector setImage={setImage} /> | |
| <InferenceResult image={image} /> | |
| </InferenceContext.Provider> | |
| ); | |
| } | |
| curl --location --request POST 'https://predict.app.landing.ai/inference/v1/predict?endpoint_id=6e0e1994-8b4a-40cb-a559-d23f9e7de710' \ | |
| --header 'Content-Type: multipart/form-data' \ | |
| --header 'apikey: YOUR_API_KEY' \ | |
| --form 'file=@"YOUR_IMAGE"' | |
| docker run -p 8000:8000 --rm ` | |
| public.ecr.aws/landing-ai/deploy:latest ` | |
| run-model-id -k YOUR_API_KEY -m YOUR_MODEL_ID | |
| curl.exe -X POST ` | |
| -H "Content-Type: multipart/form-data" ` | |
| -F "file=@./input_image.jpg" ` | |
| http://localhost:8000/images | |
| docker run -p 8000:8000 --rm \ | |
| public.ecr.aws/landing-ai/deploy:latest \ | |
| run-model-id -k YOUR_API_KEY -m YOUR_MODEL_ID | |
| curl -X 'POST' \ | |
| -H 'Content-Type: multipart/form-data' \ | |
| -F 'file=@./input_image.jpg' \ | |
| 'http://localhost:8000/images' | |
| docker run -p 8000:8000 --rm \ | |
| public.ecr.aws/landing-ai/deploy:latest \ | |
| run-model-id -k YOUR_API_KEY -m YOUR_MODEL_ID | |
| curl -X 'POST' \ | |
| -H 'Content-Type: multipart/form-data' \ | |
| -F 'file=@./input_image.jpg' \ | |
| 'http://localhost:8000/images' | |
| from PIL import Image | |
| from landingai.predict import Predictor | |
| # Enter your API Key | |
| endpoint_id = "26452679-4089-47e9-bb96-723e7eb719c8" | |
| api_key = "YOUR_API_KEY" | |
| # Load your image | |
| image = Image.open("image.png") | |
| # Run inference | |
| predictor = Predictor(endpoint_id, api_key=api_key) | |
| predictions = predictor.predict(image) | |
| import React from 'react'; | |
| import { useState } from "react"; | |
| import { InferenceContext, InferenceResult, PhotoCollector } from "landingai-react"; | |
| const apiInfo = { | |
| endpoint: "https://predict.app.landing.ai/inference/v1/predict?endpoint_id=26452679-4089-47e9-bb96-723e7eb719c8", | |
| key: "YOUR_API_KEY", | |
| }; | |
| export default function App() { | |
| const [image, setImage] = useState(); | |
| return ( | |
| <InferenceContext.Provider value={apiInfo}> | |
| <PhotoCollector setImage={setImage} /> | |
| <InferenceResult image={image} /> | |
| </InferenceContext.Provider> | |
| ); | |
| } | |
| curl --location --request POST 'https://predict.app.landing.ai/inference/v1/predict?endpoint_id=26452679-4089-47e9-bb96-723e7eb719c8' \ | |
| --header 'Content-Type: multipart/form-data' \ | |
| --header 'apikey: YOUR_API_KEY' \ | |
| --form 'file=@"YOUR_IMAGE"' | |
| from PIL import Image | |
| from landingai.predict import Predictor | |
| # Enter your API Key | |
| endpoint_id = "b8f1b460-4087-47e5-9ae0-50889de674f5" | |
| api_key = "YOUR_API_KEY" | |
| # Load your image | |
| image = Image.open("image.png") | |
| # Run inference | |
| predictor = Predictor(endpoint_id, api_key=api_key) | |
| predictions = predictor.predict(image) | |
| { | |
| "markdown": "<a id='241e1548-603f-4703-9f62-2d4c884bcca6'></a>\n\n<::A logo on a black background. The logo consists of a diamond outline, with the top two sides in green, the bottom-left side in yellow, and the bottom-right side in red. Inside the diamond, there is a solid green circular shape with a curved cut-out, resembling a stylized 'e' or a partial yin-yang symbol.: logo::>", | |
| "chunks": [ | |
| { | |
| "markdown": "<a id='241e1548-603f-4703-9f62-2d4c884bcca6'></a>\n\n<::A logo on a black background. The logo consists of a diamond outline, with the top two sides in green, the bottom-left side in yellow, and the bottom-right side in red. Inside the diamond, there is a solid green circular shape with a curved cut-out, resembling a stylized 'e' or a partial yin-yang symbol.: logo::>", | |
| "type": "figure", | |
| "id": "241e1548-603f-4703-9f62-2d4c884bcca6", | |
| "grounding": { | |
| "box": { | |
| "left": 0, | |
| "top": 0.0009642839431762695, | |
| "right": 0.9996480941772461, | |
| "bottom": 1 | |
| }, | |
| "page": 0 | |
| } | |
| } | |
| ], | |
| "splits": [ | |
| { | |
| "class": "page", | |
| "identifier": "page_0", | |
| "pages": [ | |
| 0 | |
| ], | |
| "markdown": "<a id='241e1548-603f-4703-9f62-2d4c884bcca6'></a>\n\n<::A logo on a black background. The logo consists of a diamond outline, with the top two sides in green, the bottom-left side in yellow, and the bottom-right side in red. Inside the diamond, there is a solid green circular shape with a curved cut-out, resembling a stylized 'e' or a partial yin-yang symbol.: logo::>", | |
| "chunks": [ | |
| "241e1548-603f-4703-9f62-2d4c884bcca6" | |
| ] | |
| } | |
| ], | |
| "grounding": { | |
| "241e1548-603f-4703-9f62-2d4c884bcca6": { | |
| "box": { | |
| "left": 0, | |
| "top": 0.0009642839431762695, | |
| "right": 0.9996480941772461, | |
| "bottom": 1 | |
| }, | |
| "page": 0, | |
| "type": "chunkFigure", | |
| "confidence": null, | |
| "low_confidence_spans": [] | |
| } | |
| }, | |
| "metadata": { | |
| "filename": "SarKALay.jpg", | |
| "org_id": "8muchhkkewg1", | |
| "page_count": 1, | |
| "duration_ms": 9857, | |
| "credit_usage": 3, | |
| "job_id": "cmnqetir001moay01afbnm659", | |
| "version": "dpt-2-20260302", | |
| "failed_pages": [] | |
| } | |
| } | |
| { | |
| "markdown": "<a id='c5da7c07-1d69-4463-ac4d-f23d17c98c8f'></a>\n\n<::A white triangle is displayed against a black background. Inside the white triangle, there is a green circle. Within the green circle, there is a symbol formed by two overlapping shapes, one resembling a crescent moon and the other a partial circle, creating an abstract, intertwined design.: figure::>", | |
| "chunks": [ | |
| { | |
| "markdown": "<a id='c5da7c07-1d69-4463-ac4d-f23d17c98c8f'></a>\n\n<::A white triangle is displayed against a black background. Inside the white triangle, there is a green circle. Within the green circle, there is a symbol formed by two overlapping shapes, one resembling a crescent moon and the other a partial circle, creating an abstract, intertwined design.: figure::>", | |
| "type": "figure", | |
| "id": "c5da7c07-1d69-4463-ac4d-f23d17c98c8f", | |
| "grounding": { | |
| "box": { | |
| "left": 0.011941015720367432, | |
| "top": 0.0034215152263641357, | |
| "right": 0.9945767521858215, | |
| "bottom": 0.9672262668609619 | |
| }, | |
| "page": 0 | |
| } | |
| } | |
| ], | |
| "splits": [ | |
| { | |
| "class": "page", | |
| "identifier": "page_0", | |
| "pages": [ | |
| 0 | |
| ], | |
| "markdown": "<a id='c5da7c07-1d69-4463-ac4d-f23d17c98c8f'></a>\n\n<::A white triangle is displayed against a black background. Inside the white triangle, there is a green circle. Within the green circle, there is a symbol formed by two overlapping shapes, one resembling a crescent moon and the other a partial circle, creating an abstract, intertwined design.: figure::>", | |
| "chunks": [ | |
| "c5da7c07-1d69-4463-ac4d-f23d17c98c8f" | |
| ] | |
| } | |
| ], | |
| "grounding": { | |
| "c5da7c07-1d69-4463-ac4d-f23d17c98c8f": { | |
| "box": { | |
| "left": 0.011941015720367432, | |
| "top": 0.0034215152263641357, | |
| "right": 0.9945767521858215, | |
| "bottom": 0.9672262668609619 | |
| }, | |
| "page": 0, | |
| "type": "chunkFigure", | |
| "confidence": null, | |
| "low_confidence_spans": [] | |
| } | |
| }, | |
| "metadata": { | |
| "filename": "1000234218.png", | |
| "org_id": "8muchhkkewg1", | |
| "page_count": 1, | |
| "duration_ms": 41957, | |
| "credit_usage": 3, | |
| "job_id": "cmnqetisn01puex01q53yke8m", | |
| "version": "dpt-2-20260302", | |
| "failed_pages": [] | |
| } | |
| } | |
| { | |
| "markdown": "<a id='7af75cf7-4a8e-43cf-b7e8-a25dc7371adb'></a>\n\n<::A logo composed of three thick, rounded lines forming a triangle: the left side is yellow, the right side is red, and the base is green. Inside the triangle, near the top, is a green circle containing a smaller, darker green crescent shape.\n: logo::>", | |
| "chunks": [ | |
| { | |
| "markdown": "<a id='7af75cf7-4a8e-43cf-b7e8-a25dc7371adb'></a>\n\n<::A logo composed of three thick, rounded lines forming a triangle: the left side is yellow, the right side is red, and the base is green. Inside the triangle, near the top, is a green circle containing a smaller, darker green crescent shape.\n: logo::>", | |
| "type": "figure", | |
| "id": "7af75cf7-4a8e-43cf-b7e8-a25dc7371adb", | |
| "grounding": { | |
| "box": { | |
| "left": 0.07724234461784363, | |
| "top": 0.0003615915775299072, | |
| "right": 0.9420554637908936, | |
| "bottom": 0.9908455610275269 | |
| }, | |
| "page": 0 | |
| } | |
| } | |
| ], | |
| "splits": [ | |
| { | |
| "class": "page", | |
| "identifier": "page_0", | |
| "pages": [ | |
| 0 | |
| ], | |
| "markdown": "<a id='7af75cf7-4a8e-43cf-b7e8-a25dc7371adb'></a>\n\n<::A logo composed of three thick, rounded lines forming a triangle: the left side is yellow, the right side is red, and the base is green. Inside the triangle, near the top, is a green circle containing a smaller, darker green crescent shape.\n: logo::>", | |
| "chunks": [ | |
| "7af75cf7-4a8e-43cf-b7e8-a25dc7371adb" | |
| ] | |
| } | |
| ], | |
| "grounding": { | |
| "7af75cf7-4a8e-43cf-b7e8-a25dc7371adb": { | |
| "box": { | |
| "left": 0.07724234461784363, | |
| "top": 0.0003615915775299072, | |
| "right": 0.9420554637908936, | |
| "bottom": 0.9908455610275269 | |
| }, | |
| "page": 0, | |
| "type": "chunkFigure", | |
| "confidence": null, | |
| "low_confidence_spans": [] | |
| } | |
| }, | |
| "metadata": { | |
| "filename": "1000221269.png", | |
| "org_id": "8muchhkkewg1", | |
| "page_count": 1, | |
| "duration_ms": 17979, | |
| "credit_usage": 3, | |
| "job_id": "cmnqetj4m01pbcz01u35f4aqw", | |
| "version": "dpt-2-20260302", | |
| "failed_pages": [] | |
| } | |
| } | |
Xet Storage Details
- Size:
- 11.1 kB
- Xet hash:
- 5dd3f30466b86d508f900dc8f00cd71b70150f6afac135b0ad754201ce3bc713
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.