(function (global) {
  global.ARQ = global.ARQ || {};
  ARQ.aiTransport = {
    generateImage: function (prompt, opts) {
      return ARQ.projects.openaiImage(Object.assign({ prompt: prompt, model: 'dall-e-3' }, opts || {}));
    },
    generateImageFromImage: function (prompt, imageB64, opts) {
      return ARQ.projects.openaiImageFromImage(Object.assign({
        prompt: prompt,
        imageB64: imageB64,
        model: 'dall-e-3',
        size: '1024x1024',
      }, opts || {}));
    },
  };
})(typeof window !== 'undefined' ? window : this);
