{"id":145964,"date":"2023-05-10T17:12:00","date_gmt":"2023-05-10T08:12:00","guid":{"rendered":"https:\/\/support.questetra.com\/?p=145964"},"modified":"2023-08-10T13:38:55","modified_gmt":"2023-08-10T04:38:55","slug":"openai-images-create-variation-2023","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/ja\/addons\/openai-images-create-variation-2023\/","title":{"rendered":"OpenAI #Images: \u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u5275\u4f5c"},"content":{"rendered":"\n<h4 class=\"wp-block-heading has-background\" style=\"background-color:#084A28;color:#ffffff;margin-top:var(--wp--preset--spacing--30);margin-right:0;margin-bottom:0;margin-left:0;padding-top:var(--wp--preset--spacing--10);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--20)\"><strong>OpenAI: Images, \u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u5275\u4f5c<\/strong><\/h4>\n\n\n\n<p class=\"has-text-align-right has-background has-small-font-size mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#084A28;color:#ffffff;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--30);padding-bottom:0;padding-left:var(--wp--preset--spacing--30)\"><a href=\"https:\/\/support.questetra.com\/ja\/addons\/openai-images-create-variation-2023\/\"><span class=\"material-icons\">translate<\/span> OpenAI: Images, Create Variation<\/a><\/p>\n\n\n\n<p class=\"has-background mt-0 pt-0 wp-block-paragraph\" style=\"border-color:2px solid #084A28;color:#333333;margin-top:0;margin-right:0;margin-bottom:var(--wp--preset--spacing--30);margin-left:0;padding-top:var(--wp--preset--spacing--10);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--20)\">\u5143\u753b\u50cf\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\uff08\u985e\u4f3c\u753b\u50cf\u30fb\u5909\u5f62\u753b\u50cf\uff09\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f 1024&#215;1024 \u306e\u753b\u50cf\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002256&#215;256 \u307e\u305f\u306f 512&#215;512 \u3082\u4f5c\u6210\u53ef\u80fd\u3067\u3059\u3002\u5143\u753b\u50cf\u306f4MB\u672a\u6e80\u306e\u6b63\u65b9\u5f62\u753b\u50cf\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u4e00\u5ea6\u306b\u4f5c\u6210\u3067\u304d\u308b\u6570\u306f\u6700\u5927\u306710\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image alignright has-custom-border is-style-default\"><img decoding=\"async\" src=\"data:image;base64,\niVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABclJREFUWEfN\nV3tQlFUU\/12esiCwrCIhKugiL0VAUASc8pEZmI2K5Wu3MRtDK5Wm0RlndAEbK2VEa\/JRYQZkmu9I\na\/KVvBQfgOKKDwhwDUXQXcTl4QK3uRd2XdhvgbFm6P73fd895\/zOOb\/z+Aj6+JDe2nfflSBqtMds\n2kYngdBgAJ4AEbfLUzWAClBSSCzIWTstDle9n9DQG909Ahj4vcJNZ4k1hCCOAv16qbSJUuy0bsUX\nNYsTH3Qn0y0AcZoijhKaDBD73hg2vUO1hJJP1PLEnebkzQJwSk\/YTkCXvZjhzlIUZEedLGG5kC5B\nAE7p6\/cSkPn\/hXG9Dgr6U50saUFXnSYAevL8Q78IvD08EEMdnKFra8PVx\/exveQ8TleV9ohXKBKd\nALTnHDuENDlY2yI1ag4mu0tR3ViPwkdVcLLphzEuL8ECBPv+ugoLQnC59m9kqkrwVNcsCIhQLDPm\nhAEAZ7sVLTVHuM1h0ZB7j8WxSiU+vnicG3AXOWJj6HTEDPGFFbEwGNQ8a0Tq7Uv4tOiMAAiqtW4h\nUn11GAA4pylSQLCqqwTzfIV\/BN6RjsWDxnrEnNzDja8KiMJyvwkQ29ohr7oSm4vPIae6AjOG+GF1\n4MvwdpRge8kFbCg6LVAc2KqRJ8azDxwAbzIi+qhrnU9198bG0NcgdZSAgCC9tABppQXYFBaNQBc3\nXFdXcwMs\/+yuSqvBrboa+DgNRGpULBysbfBeziFcrr3XCQQBmuwaiIQ1Kw5AnJGwiFKabnxLr2Sw\nvSMOlhdj3vAxOFKpRO7DSiiCpmDPnSvYVHwOMmkIlvuGw8d5IOp1zZwLG4rO8Kgt9RmPFGU2tilz\nTaJACJGpFyVkcADOaYpUELxrfEsRPBVLfcZh18183HpSi+SwaA7gYo0KH\/lH4PNrf0IuHYtgiTuO\nq25y4rH3YQM8cE9bx58XjgjG7tuXsPHqWaE07NbIE5e0A0hfXwAQ1t8N59AUGaT9JVicfQDeTgMM\nABgP4nzD0UYp7jyphcRWBArwUmTEYxGJD4iCZ38xmltbOFChCAC0UCNLCtEDePx8sLRjODpVzlk+\n+bdvOcv1EWAA5NIQbC7O4gYZSTeFvY5Yz9G4oXnIOZFfo8JnodMR6zkKRytvYFneEaFqUGtkSS4d\nABTMiU7nqwlvcsOrL55AU2sLtoW\/wWufNZ7ZnqOw8sIvyHpQzmXWjpmEt7wCOYDIQcNwuEKJ+PxM\n7J+0AEESd3yQdwynqu6YgNDIEolZAMxI8rgY3K6rwcoLmfCwd8K6oCnwd3ZFbZMWcXlHOgGY6xXI\nQbEKYSc882usDIhEfMBEfHMrX5AHRgDWm6SAKdkVORtzvUajol6NFGUOL0OWY9YD2PlSmQt\/sSuv\nEK3uGQdlDGDRiGAkhrzKU2VKRGqcAlMS6nng5+SKhlYdj4Cyo+5ZjndGzMJ0j5G4+1SD8w\/vImLQ\nMJMIbBk3g6dr7ZXfsbesqEsKjEkoUIZ6AF4OLliSc5BHgnlqY2GFR81aWBNL\/FhWiC3KHKwKiOQk\nXGGUgqTC09gyPgZVDfWYeeoH09lA8bwMhRoRA8D6\/\/wRQUguzsJWZQ5CB3jwEnuiaza02A0h0xA9\nxBd3n6qx8Nw+ZLw8D4NFjtxbdo\/xR4iAnRqRuVbMDH4XNQe2llZQFJzEz+XXuGJWeuuCJhsickJ1\nE+sK\/uBlu3tiLFxsRXw+sE7ZtQ0zeZNWzJuRmWHEiMTY72xrx\/PNmoubqD8fxXpO6HeBHRGzMHOo\nH5KvZyPlerZA7Xe8ol2GEXvd3Thmnq0JfIW3WXsrGzja2PLxe6C8GBllhZygS0aGYYLrUORWV0KW\ntd\/sPgCYGccMRHcLibE7UYM8kRQyjU9Ey449oLFFh19VJYZdwZz7ZhcSvUBPK5mxYjYxR4vd8Kyt\nFWful3XjdbtUjyvZcxB9uJS+SCTMs82853qZ\/++PiR5hn\/6aGYe2z35Oe8rvv\/3+D7A\/zj\/ftsWS\nAAAAAElFTkSuQmCC\n\" alt=\"Auto Step icon\" class=\"has-border-color has-ast-global-color-4-border-color\" style=\"border-width:0.5em\"\/><\/figure>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title\">Configs for this Auto Step<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<dl style=\"margin: 0 0 -0.7em 0\">\n<div style=\"margin:4px 0px 1em; border:1px dotted #aaa; padding:4px 0 0 4px\" title=\"Main\"><dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">AuthzConfU1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">U1: HTTP\u8a8d\u8a3c\u8a2d\u5b9a\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\uff08Secret API Key \uff20\u30c8\u30fc\u30af\u30f3\u76f4\u63a5\u6307\u5b9a\uff09<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">SelectConfA1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A1: \u30aa\u30ea\u30b8\u30ca\u30eb\u753b\u50cf\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u578b\u30c7\u30fc\u30bf\u9805\u76ee\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">SelectConfB1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">B1: \u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u753b\u50cf\u304c\u683c\u7d0d\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u578b\u30c7\u30fc\u30bf\u9805\u76ee\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u66f4\u65b0\uff09<\/dd>\n<\/div>\n<div style=\"margin:4px 0px 1em; border:1px dotted #aaa; padding:4px 0 0 4px\" title=\"Advanced\"><dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">StrConfU2<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">U2: OpenAI Organization ID \u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\uff08&#8221;org-xxxx&#8221;\uff09<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">StrConfU3<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">U3: \u76e3\u8996\u3084\u691c\u77e5\u306e\u305f\u3081\u306e End-User ID \u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\uff08&#8221;user123456&#8243;\uff09<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">StrConfA2<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A2: \u753b\u50cf\u306e\u751f\u6210\u6570\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\uff081\uff5e10\uff09<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">StrConfA3<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A3: \u753b\u50cf\u30b5\u30a4\u30ba\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\uff08&#8221;256&#215;256&#8243;, &#8220;512&#215;512&#8221;, or &#8220;1024&#215;1024&#8243;\uff09<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">SelectConfB2<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">B2: \u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u753b\u50cf\u304c\u683c\u7d0d\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u578b\u30c7\u30fc\u30bf\u9805\u76ee\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u8ffd\u52a0\uff09<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">StrConfC1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C1: \u5225\u540d\u4fdd\u5b58\u3057\u305f\u3044\u5834\u5408\u3001\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044 (\u6539\u884c\u533a\u5207\u308a)<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<\/div>\n\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details><summary class=\"wp-block-coblocks-accordion-item__title\">Script (click to open)<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/\/ GraalJS Script (engine type: 2)\n\n\/\/\/\/\/\/\/\/ START &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nmain();\nfunction main(){ \n\n\/\/\/\/\/\/ == Config Retrieving \/ \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 ==\nconst strAuthzSetting   = configs.get( &quot;AuthzConfU1&quot; );       \/\/\/ REQUIRED\n  engine.log( &quot; AutomatedTask Config: Authz Setting: &quot; + strAuthzSetting );\nconst strOrgId          = configs.get( &quot;StrConfU2&quot; );         \/\/ NotRequired\n  engine.log( &quot; AutomatedTask Config: OpenAI-Organization: &quot; + strOrgId );\nconst strEndUserId      = configs.get( &quot;StrConfU3&quot; ) !== &quot;&quot; ? \/\/ NotRequired\n                          configs.get( &quot;StrConfU3&quot; ) :\n                          &quot;m&quot; + processInstance.getProcessModelInfoId().toString(); \/\/ (default)\n  engine.log( &quot; AutomatedTask Config: End User IDs: &quot; + strEndUserId );\n\nconst filesPocketOriginal = configs.getObject( &quot;SelectConfA1&quot; ); \/\/\/ REQUIRED\n  let filesOriginal     = engine.findData( filesPocketOriginal ); \/\/ java.util.ArrayList\n  if( filesOriginal   === null ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {A1: OriginalFile} must be non-empty \\n&quot; );\n  }\n  engine.log( &quot; AutomatedTask Config: #of Original Files: &quot; + filesOriginal.size() );\n  engine.log( &quot; AutomatedTask Config: Original Image File: &quot; + filesOriginal.get(0).getName() );\n\nconst strGenerate       = configs.get( &quot;StrConfA2&quot; );         \/\/ NotRequired\nconst numGenerate       = isNaN( parseInt(strGenerate,10) ) ? 1 : parseInt(strGenerate,10);\nconst strSize           = configs.get( &quot;StrConfA3&quot; ) !== &quot;&quot; ? \/\/ NotRequired\n                          configs.get( &quot;StrConfA3&quot; ) : &quot;1024x1024&quot;; \/\/ (default)\n\nconst filesPocketUpdate = configs.getObject( &quot;SelectConfB1&quot; ); \/\/ NotRequired\n  let filesUpdate       = new java.util.ArrayList();\nconst filesPocketAppend = configs.getObject( &quot;SelectConfB2&quot; ); \/\/ NotRequired\n  let filesAppend       = new java.util.ArrayList();\n  if ( filesPocketAppend !== null ) {\n    if ( engine.findData( filesPocketAppend ) !== null ) {\n      filesAppend       = engine.findData( filesPocketAppend ); \/\/ java.util.ArrayList\n      engine.log( &quot; AutomatedTask FilesArray {B2}: &quot; +\n                  filesAppend.size() + &quot; files&quot; );\n    }\n  }\nconst strFileNames      = configs.get( &quot;StrConfC1&quot; );           \/\/ NotRequired\nconst arrFileNames      = strFileNames === &quot;&quot; ?\n                          [] : strFileNames.split( &#39;\\n&#39; );\n\n\n\n\/\/\/\/\/\/ == Data Retrieving \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 ==\n\/\/ (Nothing. Retrieved via Expression Language in Config Retrieving)\n\n\n\n\/\/\/\/\/\/ == Calculating \/ \u6f14\u7b97 ==\n\n\/\/\/\/ OpenAI API &gt; Documentation &gt; API REFERENCE &gt; IMAGES &gt; Create image variation\n\/\/\/\/ https:\/\/platform.openai.com\/docs\/api-reference\/images\/create-variation\n\n\/\/\/ prepare request1\nlet request1Uri = &quot;https:\/\/api.openai.com\/v1\/images\/variations&quot;;\nlet request1 = httpClient.begin(); \/\/ HttpRequestWrapper\n    request1 = request1.authSetting( strAuthzSetting ); \/\/ with &quot;Authorization: Bearer XX&quot;\n    if ( strOrgId !== &quot;&quot; ){\n      request1 = request1.header( &quot;OpenAI-Organization&quot;, strOrgId );\n    }\n\n\/\/\/ prepare multipart\/form-data\n    request1 = request1.multipart ( &quot;n&quot;,               numGenerate.toString() );\n    request1 = request1.multipart ( &quot;size&quot;,            strSize );\n    request1 = request1.multipart ( &quot;response_format&quot;, &quot;url&quot; );\n    request1 = request1.multipart ( &quot;user&quot;,            strEndUserId );\n    request1 = request1.multipart ( &quot;image&quot;,           filesOriginal.get(0) );\n\n\/\/\/ try request1\nconst response1     = request1.post( request1Uri ); \/\/ HttpResponseWrapper\nengine.log( &quot; AutomatedTask ApiRequest1 Start: &quot; + request1Uri );\nconst response1Code = response1.getStatusCode() + &quot;&quot;; \/\/ JavaNum to string\nconst response1Body = response1.getResponseAsString();\nengine.log( &quot; AutomatedTask ApiResponse1 Status: &quot; + response1Code );\nif( response1Code !== &quot;200&quot;){\n  throw new Error( &quot;\\n AutomatedTask UnexpectedResponseError: &quot; +\n                    response1Code + &quot;\\n&quot; + response1Body + &quot;\\n&quot; );\n}\n\n\/\/\/ parse response1\n\/* engine.log( response1Body ); \/\/ debug\n{\n  &quot;created&quot;: 1683701883,\n  &quot;data&quot;: [\n    {\n      &quot;url&quot;: &quot;https:\/\/oaidalleapiprodscus.blob.core.windows.net\/private\/org-sWMNKIpK&quot;\n    },\n    {\n      &quot;url&quot;: &quot;https:\/\/oaidalleapiprodscus.blob.core.windows.net\/private\/org-sWMNKIpK&quot;\n    },\n    {\n      &quot;url&quot;: &quot;https:\/\/oaidalleapiprodscus.blob.core.windows.net\/private\/org-sWMNKIpK&quot;\n    },\n    {\n      &quot;url&quot;: &quot;https:\/\/oaidalleapiprodscus.blob.core.windows.net\/private\/org-sWMNK...&quot;\n    }\n  ]\n}\n*\/\nconst response1Obj = JSON.parse( response1Body );\nengine.log( &quot; AutomatedTask OpenAI #created: &quot; + response1Obj.created );\n\nfor ( let i = 0; i &lt; response1Obj.data.length; i++ ) {\n\n  \/\/\/ prepare request2\n  let request2Uri = response1Obj.data[i].url;\n  let request2 = httpClient.begin(); \/\/ HttpRequestWrapper\n\n  \/\/\/ try request2i\n  const response2     = request2.get( request2Uri ); \/\/ HttpResponseWrapper\n  engine.log( &quot; AutomatedTask ApiRequest2 Start: &quot; + request2Uri );\n  const response2Code = response2.getStatusCode() + &quot;&quot;; \/\/ JavaNum to string\n  engine.log( &quot; AutomatedTask ApiResponse2 Status: &quot; + response2Code );\n  if( response2Code !== &quot;200&quot;){\n    throw new Error( &quot;\\n AutomatedTask UnexpectedResponseError: &quot; +\n                      response2Code + &quot;\\n&quot; + response2.getResponseAsString() + &quot;\\n&quot; );\n  }\n\n  \/*   \/\/ debug\n  let jarrHeaders = response2.getHeaderNames();\n  for ( let j = 0; j &lt; jarrHeaders.size() - 0 ; j++ ) {\n    engine.log( &quot; &quot; + jarrHeaders.get(j) );\n  }\n\n  Content-Length\n  Content-Type\n  Content-MD5\n  Last-Modified\n  Accept-Ranges\n  ETag\n  Server\n  x-ms-request-id\n  x-ms-version\n  x-ms-creation-time\n  x-ms-lease-status\n  x-ms-lease-state\n  x-ms-blob-type\n  Content-Disposition\n  x-ms-server-encrypted\n  Date\n  *\/\n\n  \/\/\/ save file\n  let strName = arrFileNames[i] ?? &quot;&quot;;\n  if ( strName === &quot;&quot; ) {\n    strName = processInstance.getProcessInstanceId().toString() +\n            &quot;-&quot; + i + &quot;.png&quot;;\n  }\n  const qfileTmp = new com.questetra.bpms.core.event.scripttask.NewQfile(\n    strName, response2.getContentType(), response2.getResponse()\n  );\n  \/\/ NewQfile ( stringFileName, stringContentType, ByteArray )\n\n  filesUpdate.add( qfileTmp );\n  filesAppend.add( qfileTmp );\n\n}\n\n\n\n\/\/\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\n\nif( filesPocketUpdate !== null ){\n  engine.setData( filesPocketUpdate, filesUpdate );\n}\nif( filesPocketAppend !== null ){\n  engine.setData( filesPocketAppend, filesAppend );\n}\n\n} \/\/\/\/\/\/\/\/ END &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n\/*\nNotes:\n- If you place this &quot;Automated Step&quot; in the Workflow diagram, the request will be automatically sent every time the process token arrives.\n    - A request is automatically sent to the OpenAI API server. (REST API)\n    - The response from the OpenAI API server is automatically parsed.\n    - You can incorporate &quot;AI assistance&quot; into your business processes.\n- This &quot;Automated Step&quot; accesses the image generation engine &quot;DALL-E 2&quot; Model. (as of 2023)\n    - The maximum number of images that can be generated is 10.\n\nAPPENDIX\n- To activate a Workflow App that includes this Automated Step, &quot;HTTP Authz Setting&quot; is required\n    - Obtain a &quot;Secret API Key&quot; in advance.\n    - Set the key as the communication token in &quot;Token Fixed Value&quot;\n- If multiple images are specified, the first file will be considered the original image.\n    - The file must be a valid PNG file. (RGB mode, RGBA mode)\n    - The file must be a perfect square.\n\n\nNotes-ja:\n- \u3053\u306e\uff3b\u81ea\u52d5\u5de5\u7a0b\uff3d\u3092\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u56f3\u306b\u914d\u7f6e\u3059\u308c\u3070\u3001\u6848\u4ef6\u304c\u5230\u9054\u3059\u308b\u5ea6\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u81ea\u52d5\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002\n    - OpenAI API \u30b5\u30fc\u30d0\u306b\u5bfe\u3057\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u81ea\u52d5\u9001\u51fa\u3055\u308c\u307e\u3059\u3002\uff08REST API\u901a\u4fe1\uff09\n    - OpenAI API \u30b5\u30fc\u30d0\u304b\u3089\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u81ea\u52d5\u4fdd\u5b58\u89e3\u6790\u3055\u308c\u307e\u3059\u3002\n    - &quot;AI \u306b\u3088\u308b\u652f\u63f4&quot; \u3092\u696d\u52d9\u30d7\u30ed\u30bb\u30b9\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002\n- \u3053\u306e\uff3b\u81ea\u52d5\u5de5\u7a0b\uff3d\u306f\u3001\u753b\u50cf\u751f\u6210\u30a8\u30f3\u30b8\u30f3 &quot;DALL-E 2&quot; Model \u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002\uff082023\u73fe\u5728\uff09\n    - \u4e00\u5ea6\u306b\u751f\u6210\u3067\u304d\u308b\u753b\u50cf\u306f\u3001\u6700\u5927\u306710\u500b\u3067\u3059\u3002\n\nAPPENDIX-ja\n- \u3053\u306e\uff3b\u30a2\u30c9\u30aa\u30f3\u81ea\u52d5\u5de5\u7a0b\uff3d\u3092\u542b\u3080\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30a2\u30d7\u30ea\u3092\u904b\u7528\u3059\u308b\u306b\u306f\uff3bHTTP \u8a8d\u8a3c\u8a2d\u5b9a\uff3d\u304c\u5fc5\u8981\u3067\u3059\u3002\n    - \u3042\u3089\u304b\u3058\u3081 &quot;Secret API Key&quot; \u3092\u53d6\u5f97\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002\n    - &quot;Secret API Key&quot; \u3092\u901a\u4fe1\u30c8\u30fc\u30af\u30f3\u3068\u3057\u3066\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\uff3b\u30c8\u30fc\u30af\u30f3\u76f4\u63a5\u6307\u5b9a\uff3d\n- \u8907\u6570\u753b\u50cf\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u7b2c1\u756a\u76ee\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30aa\u30ea\u30b8\u30ca\u30eb\u753b\u50cf\u3068\u307f\u306a\u3057\u307e\u3059\u3002\n    - \u5f53\u8a72\u30d5\u30a1\u30a4\u30eb\u306f\u3001PNG\u5f62\u5f0f\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\uff08RGB\u30e2\u30fc\u30c9\u3001RGBA\u30e2\u30fc\u30c9\uff09\n    - \u5f53\u8a72\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u5b8c\u5168\u306a\u6b63\u65b9\u5f62\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\n\n*\/\n\n<\/code><\/pre><\/div>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Download<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/drive.google.com\/file\/d\/1iyjH6UYAaIDth-xYxYv9bkF-JtiQIDFn\/view?usp=drivesdk\" target=\"_blank\">openai-images-create-variation-2023.xml<\/a>\n<ul class=\"wp-block-list\">\n<li>2023-05-09 (C) Questetra, Inc. (MIT License)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"https:\/\/drive.google.com\/file\/d\/1LOo0SeqvtUgQL8LguuVIfMTI5EXsa2jC\/view?usp=sharing\" data-type=\"link\" data-id=\"https:\/\/drive.google.com\/file\/d\/1LOo0SeqvtUgQL8LguuVIfMTI5EXsa2jC\/view?usp=sharing\">openai-images-create-variation-202308.xml<\/a>\n<ul class=\"wp-block-list\">\n<li>2023-08-08 (C) Questetra, Inc. (MIT License)<\/li>\n\n\n\n<li>for &#8220;GraalJS standard (engine-type 3)&#8221; on v15.0 or above<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div class=\"has-small-font-size\" style=\"text-align: right;\"><div style=\"display: inline-block; background: #FBE7DD; text-align: center;\">\n<span class=\"material-icons\">warning<\/span> \u81ea\u7531\u6539\u5909\u53ef\u80fd\u306a JavaScript (ECMAScript) \u30b3\u30fc\u30c9\u3067\u3059\u3002\u3044\u304b\u306a\u308b\u4fdd\u8a3c\u3082\u3042\u308a\u307e\u305b\u3093\u3002<br>\n(<em><strong>\u30a2\u30c9\u30aa\u30f3\u81ea\u52d5\u5de5\u7a0b<\/strong><\/em>\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f <em><strong><span style=\"color: #1970B9\">Professional<\/span><\/strong><\/em> edition\u3067\u306e\u307f\u53ef\u80fd\u3067\u3059)\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Notes<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u3053\u306e\uff3b\u81ea\u52d5\u5de5\u7a0b\uff3d\u3092\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u56f3\u306b\u914d\u7f6e\u3059\u308c\u3070\u3001\u6848\u4ef6\u304c\u5230\u9054\u3059\u308b\u5ea6\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u81ea\u52d5\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002\n<ul class=\"wp-block-list\">\n<li>OpenAI API \u30b5\u30fc\u30d0\u306b\u5bfe\u3057\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u81ea\u52d5\u9001\u51fa\u3055\u308c\u307e\u3059\u3002\uff08REST API\u901a\u4fe1\uff09<\/li>\n\n\n\n<li>OpenAI API \u30b5\u30fc\u30d0\u304b\u3089\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u81ea\u52d5\u4fdd\u5b58\u89e3\u6790\u3055\u308c\u307e\u3059\u3002<\/li>\n\n\n\n<li>&#8220;AI \u306b\u3088\u308b\u652f\u63f4&#8221; \u3092\u696d\u52d9\u30d7\u30ed\u30bb\u30b9\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u3053\u306e\uff3b\u81ea\u52d5\u5de5\u7a0b\uff3d\u306f\u3001\u753b\u50cf\u751f\u6210\u30a8\u30f3\u30b8\u30f3 &#8220;DALL-E 2&#8221; Model \u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002\uff082023\u73fe\u5728\uff09\n<ul class=\"wp-block-list\">\n<li>\u4e00\u5ea6\u306b\u751f\u6210\u3067\u304d\u308b\u753b\u50cf\u306f\u3001\u6700\u5927\u306710\u500b\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Capture<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/support.questetra.com\/ja\/openai-images-create-variation-2023-capture-ja-2\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"145956\" data-permalink=\"https:\/\/support.questetra.com\/ja\/templates\/meeting-report-20230915\/attachment\/openai-images-create-variation-2023-capture-ja-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?fit=1200%2C675&amp;ssl=1\" data-orig-size=\"1200,675\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"openai-images-create-variation-2023-capture-ja\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=1200%2C675&#038;ssl=1\" alt=\"\u5143\u753b\u50cf\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\uff08\u985e\u4f3c\u753b\u50cf\u30fb\u5909\u5f62\u753b\u50cf\uff09\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f 1024x1024 \u306e\u753b\u50cf\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002256x256 \u307e\u305f\u306f 512x512 \u3082\u4f5c\u6210\u53ef\u80fd\u3067\u3059\u3002\u5143\u753b\u50cf\u306f4MB\u672a\u6e80\u306e\u6b63\u65b9\u5f62\u753b\u50cf\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u4e00\u5ea6\u306b\u4f5c\u6210\u3067\u304d\u308b\u6570\u306f\u6700\u5927\u306710\u3067\u3059\u3002\" class=\"wp-image-145956\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=768%2C432&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large has-custom-border is-style-rounded is-style-rounded--1\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja.png?ssl=1\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"630\" data-attachment-id=\"145948\" data-permalink=\"https:\/\/support.questetra.com\/ja\/templates\/meeting-report-20230915\/attachment\/openai-images-create-variation-2023-config-ja-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja.png?fit=843%2C639&amp;ssl=1\" data-orig-size=\"843,639\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"openai-images-create-variation-2023-config-ja\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja.png?fit=831%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja.png?resize=831%2C630&#038;ssl=1\" alt=\"\" class=\"has-border-color wp-image-145948\" style=\"border-color:#009900;border-width:3px;border-radius:9px\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja.png?resize=831%2C630&amp;ssl=1 831w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja.png?resize=416%2C315&amp;ssl=1 416w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja.png?resize=768%2C582&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja.png?w=843&amp;ssl=1 843w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large has-custom-border is-style-rounded is-style-rounded--2\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja2.png?ssl=1\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"493\" height=\"630\" data-attachment-id=\"145950\" data-permalink=\"https:\/\/support.questetra.com\/ja\/templates\/meeting-report-20230915\/attachment\/openai-images-create-variation-2023-config-ja2-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja2.png?fit=846%2C1082&amp;ssl=1\" data-orig-size=\"846,1082\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"openai-images-create-variation-2023-config-ja2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja2.png?fit=493%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja2.png?resize=493%2C630&#038;ssl=1\" alt=\"\" class=\"has-border-color wp-image-145950\" style=\"border-color:#009900;border-width:3px;border-radius:9px\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja2.png?resize=493%2C630&amp;ssl=1 493w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja2.png?resize=246%2C315&amp;ssl=1 246w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja2.png?resize=768%2C982&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-config-ja2.png?w=846&amp;ssl=1 846w\" sizes=\"auto, (max-width: 493px) 100vw, 493px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span >Appendix<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u3053\u306e\uff3b\u30a2\u30c9\u30aa\u30f3\u81ea\u52d5\u5de5\u7a0b\uff3d\u3092\u542b\u3080\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30a2\u30d7\u30ea\u3092\u904b\u7528\u3059\u308b\u306b\u306f\uff3bHTTP \u8a8d\u8a3c\u8a2d\u5b9a\uff3d\u304c\u5fc5\u8981\u3067\u3059\u3002\n<ul class=\"wp-block-list\">\n<li>\u3042\u3089\u304b\u3058\u3081 &#8220;Secret API Key&#8221; \u3092\u53d6\u5f97\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>&#8220;Secret API Key&#8221; \u3092\u901a\u4fe1\u30c8\u30fc\u30af\u30f3\u3068\u3057\u3066\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\uff3b\u30c8\u30fc\u30af\u30f3\u76f4\u63a5\u6307\u5b9a\uff3d<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u8907\u6570\u753b\u50cf\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u7b2c1\u756a\u76ee\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30aa\u30ea\u30b8\u30ca\u30eb\u753b\u50cf\u3068\u307f\u306a\u3057\u307e\u3059\u3002\n<ul class=\"wp-block-list\">\n<li>\u5f53\u8a72\u30d5\u30a1\u30a4\u30eb\u306f\u3001PNG\u5f62\u5f0f\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\uff08RGB\u30e2\u30fc\u30c9\u3001RGBA\u30e2\u30fc\u30c9\uff09<\/li>\n\n\n\n<li>\u5f53\u8a72\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u5b8c\u5168\u306a\u6b63\u65b9\u5f62\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>See also<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"i3eTWQE9oB\"><a href=\"https:\/\/support.questetra.com\/ja\/addons\/openai-images-generate-2023\/\">OpenAI #Images: \u751f\u6210<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;OpenAI #Images: \u751f\u6210&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/ja\/addons\/openai-images-generate-2023\/embed\/#?secret=JOdNv6KI27#?secret=i3eTWQE9oB\" data-secret=\"i3eTWQE9oB\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u5143\u753b\u50cf\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\uff08\u985e\u4f3c\u753b\u50cf\u30fb\u5909\u5f62\u753b\u50cf\uff09\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f 1024&#215;1024 \u306e\u753b\u50cf\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002256&#215;256 \u307e\u305f\u306f 512&#215;512 \u3082\u4f5c\u6210\u53ef\u80fd\u3067\u3059\u3002\u5143\u753b\u50cf\u306f4MB\u672a\u6e80\u306e\u6b63\u65b9\u5f62\u753b\u50cf\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u4e00\u5ea6\u306b\u4f5c\u6210\u3067\u304d\u308b\u6570\u306f\u6700\u5927\u306710\u3067\u3059\u3002<\/p>\n","protected":false},"author":2,"featured_media":145956,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[169],"tags":[441,3430],"class_list":["post-145964","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons","tag-newqfile","tag-openai-api-ja"],"jetpack_publicize_connections":[],"uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"IMAMURA, Genichi","author_link":"https:\/\/support.questetra.com\/ja\/author\/imamuragenichi\/"},"uagb_comment_info":1,"uagb_excerpt":"\u5143\u753b\u50cf\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\uff08\u985e\u4f3c\u753b\u50cf\u30fb\u5909\u5f62\u753b\u50cf\uff09\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f 1024x1024 \u306e\u753b\u50cf\u304c\u751f\u6210\u3055\u308c&hellip;","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-BYg","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":154220,"url":"https:\/\/support.questetra.com\/en\/addons\/openai-images-generate-202311\/","url_meta":{"origin":145964,"position":0},"title":"OpenAI #Images: Generate","author":"IMAMURA, Genichi","date":"2023-11-08","format":false,"excerpt":"Creates an image given a PROMPT text by the \"DALL-\u2026","rel":"","context":"Add-ons","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"OpenAI #Images: Generate","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/11\/openai-images-generate-202311-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/11\/openai-images-generate-202311-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/11\/openai-images-generate-202311-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/11\/openai-images-generate-202311-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/11\/openai-images-generate-202311-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":106005,"url":"https:\/\/support.questetra.com\/ja\/addons\/image-charts-qr-code-create-2021\/","url_meta":{"origin":145964,"position":1},"title":"Image-Charts: QR Code, \u751f\u6210","author":"IMAMURA, Genichi","date":"2021-04-23","format":false,"excerpt":"Image-Chart QRCode \u3092\u4f7f\u7528\u3057\u3066QR\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u4efb\u610f\u306e\u6587\u5b57\u5217\u30c7\u30fc\u30bf\u3092QR\u30b3\u30fc\u2026","rel":"","context":"\u30a2\u30c9\u30aa\u30f3","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Image-Charts-QR-Code-Create-workflow-ja-2.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Image-Charts-QR-Code-Create-workflow-ja-2.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Image-Charts-QR-Code-Create-workflow-ja-2.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Image-Charts-QR-Code-Create-workflow-ja-2.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Image-Charts-QR-Code-Create-workflow-ja-2.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":154206,"url":"https:\/\/support.questetra.com\/en\/addons\/openai-chat-answer-prompt-with-images-202311\/","url_meta":{"origin":145964,"position":2},"title":"OpenAI #Chat: Answer Prompt with Images","author":"IMAMURA, Genichi","date":"2023-11-07","format":false,"excerpt":"Creates a response for a prompt with images. MODEL\u2026","rel":"","context":"Add-ons","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"OpenAI #Chat: Answer Prompt with Images","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/11\/openai-chat-answer-prompt-with-images-202311-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/11\/openai-chat-answer-prompt-with-images-202311-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/11\/openai-chat-answer-prompt-with-images-202311-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/11\/openai-chat-answer-prompt-with-images-202311-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/11\/openai-chat-answer-prompt-with-images-202311-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":148282,"url":"https:\/\/support.questetra.com\/ja\/addons\/image-charts-qr-code-create-202307\/","url_meta":{"origin":145964,"position":3},"title":"Image-Charts: QR Code, \u751f\u6210","author":"IMAMURA, Genichi","date":"2023-07-21","format":false,"excerpt":"Image-Chart QRCode \u3092\u4f7f\u7528\u3057\u3066QR\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u4efb\u610f\u306e\u6587\u5b57\u5217\u30c7\u30fc\u30bf\u3092QR\u30b3\u30fc\u2026","rel":"","context":"\u30a2\u30c9\u30aa\u30f3","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Image-Charts-QR-Code-Create-workflow-ja-2.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Image-Charts-QR-Code-Create-workflow-ja-2.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Image-Charts-QR-Code-Create-workflow-ja-2.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Image-Charts-QR-Code-Create-workflow-ja-2.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Image-Charts-QR-Code-Create-workflow-ja-2.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":168049,"url":"https:\/\/support.questetra.com\/ja\/addons\/onedrive-file-download-jpg\/","url_meta":{"origin":145964,"position":4},"title":"Microsoft 365 OneDrive for Business: JPG\u753b\u50cf\u4f5c\u6210","author":"Tsuyoshi Kusaka","date":"2024-11-19","format":false,"excerpt":"\u3053\u306e\u5de5\u7a0b\u306f\u3001OneDrive \u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092JPG\u753b\u50cf\u306b\u5909\u63db\u3057\u3066\u30c7\u30fc\u30bf\u9805\u76ee\u306b\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002","rel":"","context":"\u30a2\u30c9\u30aa\u30f3","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/11\/eyecatch-onedrive-file-download-jpg-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/11\/eyecatch-onedrive-file-download-jpg-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/11\/eyecatch-onedrive-file-download-jpg-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/11\/eyecatch-onedrive-file-download-jpg-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/11\/eyecatch-onedrive-file-download-jpg-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":187134,"url":"https:\/\/support.questetra.com\/ja\/addons\/onedrive-file-download-jpg-2026\/","url_meta":{"origin":145964,"position":5},"title":"Microsoft 365 OneDrive for Business: JPG\u753b\u50cf\u4f5c\u6210","author":"Hirotaka NISHI","date":"2026-06-22","format":false,"excerpt":"\u3053\u306e\u5de5\u7a0b\u306f\u3001OneDrive \u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092JPG\u753b\u50cf\u306b\u5909\u63db\u3057\u3066\u30c7\u30fc\u30bf\u9805\u76ee\u306b\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002","rel":"","context":"\u30a2\u30c9\u30aa\u30f3","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/11\/eyecatch-onedrive-file-download-jpg-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/11\/eyecatch-onedrive-file-download-jpg-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/11\/eyecatch-onedrive-file-download-jpg-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/11\/eyecatch-onedrive-file-download-jpg-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/11\/eyecatch-onedrive-file-download-jpg-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"amp_enabled":false,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/05\/openai-images-create-variation-2023-capture-ja.png?fit=1200%2C675&ssl=1","_links":{"self":[{"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/posts\/145964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/comments?post=145964"}],"version-history":[{"count":4,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/posts\/145964\/revisions"}],"predecessor-version":[{"id":149355,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/posts\/145964\/revisions\/149355"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/media\/145956"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/media?parent=145964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/categories?post=145964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/tags?post=145964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}