Method: projects.locations.videoThumbnails.create
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
एक ऐसा आईडी बनाता है जिसका इस्तेमाल, किसी कलेक्शन की कई इमेज के ऐनिमेशन वाली इमेज को रेंडर करने के लिए किया जा सकता है.
इसका इस्तेमाल GetVideoThumbnailPixels
के साथ किया जाता है. videoThumbnails.create
को कॉल करने पर, आपको एक्सप्रेशन और आउटपुट के कुछ विकल्प मिलते हैं. videoThumbnails.create
का नतीजा एक आईडी होता है, जो उस एक्सप्रेशन का आकलन करने और उन विकल्पों को लागू करने के नतीजे के तौर पर एक इमेज दिखाता है. इसके बाद, GetVideoThumbnailPixels
को कॉल करके ऐसी इमेज देखी जा सकती है जिसमें ImageCollection के सभी एलिमेंट, पहले से आखिर तक ऐनिमेशन के साथ दिखते हैं. यह आईडी कुछ घंटों के लिए मान्य होगा.
ImageCollection में मौजूद सभी इमेज के लिए, अनुरोध की सीमा कुल 512*512*100 पिक्सल है. इन सीमाओं से ज़्यादा अनुरोध करने पर, गड़बड़ी का कोड 400 (BAD_REQUEST) दिखेगा.
एचटीटीपी अनुरोध
POST https://earthengine.googleapis.com/v1alpha/{parent=projects/*/locations/*}/videoThumbnails
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. उस जगह की पैरंट लोकेशन जहां वीडियो का थंबनेल बनाया जाएगा (उदाहरण के लिए, "projects/*").
अनुमति पाने के लिए, दिए गए संसाधन parent पर IAM की यह अनुमति ज़रूरी है:
earthengine.videothumbnails.create
|
क्वेरी पैरामीटर
पैरामीटर |
workloadTag |
string
इस कैलकुलेशन को ट्रैक करने के लिए, उपयोगकर्ता का दिया गया टैग.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में VideoThumbnail
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में VideoThumbnail
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
इसके लिए, OAuth के इनमें से किसी एक स्कोप की ज़रूरत होती है:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/earthengine.readonly
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eGenerates an ID, usable with \u003ccode\u003eGetVideoThumbnailPixels\u003c/code\u003e, to render an animation of images from an ImageCollection.\u003c/p\u003e\n"],["\u003cp\u003eThe created ID represents an image formed by evaluating an expression and applying specified options, animating the ImageCollection's elements.\u003c/p\u003e\n"],["\u003cp\u003eThe total pixel limit for the request is 512*512*100, exceeding which results in a 400 error code.\u003c/p\u003e\n"],["\u003cp\u003eRequires specific IAM permission (\u003ccode\u003eearthengine.videothumbnails.create\u003c/code\u003e) on the parent resource for authorization.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a POST request to a specified endpoint with path and query parameters to create the video thumbnail.\u003c/p\u003e\n"]]],["`videoThumbnails.create` generates an ID for an animated image from an ImageCollection, using a provided expression and output options. `GetVideoThumbnailPixels` then retrieves the animated image. The ID remains valid for a few hours. The request has a size limit of 512\\*512\\*100 pixels, exceeding this results in a 400 error. A tag is used to track the computation. Authentication requires specific OAuth scopes or IAM permissions on the parent resource.\n"],null,["# Method: projects.locations.videoThumbnails.create\n\nCreates an ID that can be used to render an image containing an animation of multiple images from a collection.\n\nThis is used in conjunction with `GetVideoThumbnailPixels`. A call to `videoThumbnails.create` provides an expression and some output options. The result of `videoThumbnails.create` is an ID that represents an image that is the result of evaluating that expression and applying those options. Subsequently, calls to `GetVideoThumbnailPixels` can be made to get an image showing all of the elements of an ImageCollection, animated from first to last. The ID will be valid for a moderate period (a few hours).\n\nThe request is limited to 512\\*512\\*100 pixels in total, across all Images in the ImageCollection. Requests exceeding these limits will result in an error code of 400 (BAD_REQUEST).\n\n### HTTP request\n\n`POST https://earthengine.googleapis.com/v1alpha/{parent=projects/*/locations/*}/videoThumbnails`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The parent of the location where the video thumbnail will be created (e.g., \"projects/\\*\"). Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `earthengine.videothumbnails.create` |\n\n### Query parameters\n\n| Parameters ||\n|---------------|-------------------------------------------------------|\n| `workloadTag` | `string` User supplied tag to track this computation. |\n\n### Request body\n\nThe request body contains an instance of [VideoThumbnail](/earth-engine/reference/rest/v1alpha/projects.locations.videoThumbnails#VideoThumbnail).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [VideoThumbnail](/earth-engine/reference/rest/v1alpha/projects.locations.videoThumbnails#VideoThumbnail).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/earthengine`\n- `\n https://www.googleapis.com/auth/earthengine.readonly`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/cloud-platform.read-only`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]