text: from io import BytesIO
  
  from PIL import Image
  from flask import send_file
  
  from utils import http
  from utils.endpoint import Endpoint, setup
  
  
  @setup
  class Aborted(Endpoint):
      params = ['avatar0']
  
      def generate(self, avatars, text, usernames, kwargs):
          base = Image.open('assets/aborted/aborted.bmp')
          img1 = http.get_image(avatars[0]).convert('RGBA').resize((90, 90))
          base.paste(img1, (390, 130), img1)
          base = base.convert('RGB')
  
          b = BytesIO()
          base.save(b, format='jpeg')
          b.seek(0)
          return send_file(b, mimetype='image/jpeg')
  